We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da9015e commit fbfdb66Copy full SHA for fbfdb66
tests/Feature/StandardShowOperationsTest.php
@@ -138,7 +138,7 @@ public function getting_a_single_resource_with_polymorphic_included_relation():
138
139
Gate::policy(Comment::class, GreenPolicy::class);
140
141
- $response = $this->get("/api/comments/{$post->id}?include=commentable.image");
+ $response = $this->get("/api/comments/{$comment->id}?include=commentable.image");
142
143
$this->assertResourceShown($response, $comment->fresh('commentable.image')->toArray());
144
}
0 commit comments