diff --git a/Generator/Stubs/tests/functional/delete.stub b/Generator/Stubs/tests/functional/delete.stub index 183e04e4a..d96dd55cc 100644 --- a/Generator/Stubs/tests/functional/delete.stub +++ b/Generator/Stubs/tests/functional/delete.stub @@ -13,7 +13,7 @@ use App\Containers\{{section-name}}\{{container-name}}\UI\API\Tests\ApiTestCase; */ class {{class-name}} extends ApiTestCase { - protected string $endpoint = 'delete@v1/{{url}}/{id}'; + protected string $endpoint = 'delete@v1/{{url}}'; protected array $access = [ 'permissions' => '', diff --git a/Generator/Stubs/tests/functional/find.stub b/Generator/Stubs/tests/functional/find.stub index 619987ce4..03847d492 100644 --- a/Generator/Stubs/tests/functional/find.stub +++ b/Generator/Stubs/tests/functional/find.stub @@ -15,7 +15,7 @@ use Illuminate\Testing\Fluent\AssertableJson; */ class {{class-name}} extends ApiTestCase { - protected string $endpoint = 'get@v1/{{url}}/{id}'; + protected string $endpoint = 'get@v1/{{url}}'; protected array $access = [ 'permissions' => '', diff --git a/Generator/Stubs/tests/functional/update.stub b/Generator/Stubs/tests/functional/update.stub index 4d1a3fb8d..f8eabcdef 100644 --- a/Generator/Stubs/tests/functional/update.stub +++ b/Generator/Stubs/tests/functional/update.stub @@ -14,7 +14,7 @@ use Illuminate\Testing\Fluent\AssertableJson; */ class {{class-name}} extends ApiTestCase { - protected string $endpoint = 'patch@v1/{{url}}/{id}'; + protected string $endpoint = 'patch@v1/{{url}}'; protected array $access = [ 'permissions' => '',