diff --git a/resources/templates/authentication_test.stub b/resources/templates/authentication_test.stub index 275f112..03cffef 100644 --- a/resources/templates/authentication_test.stub +++ b/resources/templates/authentication_test.stub @@ -27,7 +27,7 @@ class $MODEL_NAME$AuthenticationTest extends TestCase $this->user->givePermissionTo($MODEL_NAME$Permissions::UPDATE_$UPPER_CASED_MODEL_NAME$); $this->user->givePermissionTo($MODEL_NAME$Permissions::DELETE_$UPPER_CASED_MODEL_NAME$); - $this->baseUrl = env('API_URL').'/\$PLURAL_LOWER_CASED_MODEL_NAME$\/'; + $this->baseUrl = env('API_URL').'/$PLURAL_SNAKE_CASED_MODEL_NAME$/'; } /** @test */ @@ -126,4 +126,4 @@ class $MODEL_NAME$AuthenticationTest extends TestCase $response = $this->delete($this->baseUrl.$$CAMEL_CASE_MODEL_NAME$->id); $response->assertStatus(204); } -} \ No newline at end of file +}