diff --git a/tests/Fields/MorphOneFieldTest.php b/tests/Fields/MorphOneFieldTest.php index 307856ea..d8471e0a 100644 --- a/tests/Fields/MorphOneFieldTest.php +++ b/tests/Fields/MorphOneFieldTest.php @@ -36,7 +36,7 @@ public function test_morph_one_present_on_show_when_specified_related() 'user_id' => factory(User::class), ]); - $relationships = $this->get(PostWithMophOneRepository::uriKey() . "/$post->id?related=user") + $relationships = $this->get(PostWithMophOneRepository::uriKey()."/$post->id?related=user") ->assertJsonStructure([ 'data' => [ 'relationships' => [ @@ -52,7 +52,7 @@ public function test_morph_one_present_on_show_when_specified_related() $this->assertNotNull($relationships); - $relationships = $this->get(PostWithMophOneRepository::uriKey() . "/$post->id") + $relationships = $this->get(PostWithMophOneRepository::uriKey()."/$post->id") ->json('data.relationships'); $this->assertNull($relationships);