Skip to content

Commit

Permalink
fix: stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed May 2, 2022
1 parent e3a22a4 commit 15054d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Generator/Stubs/tests/functional/delete.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '',
Expand Down
2 changes: 1 addition & 1 deletion Generator/Stubs/tests/functional/find.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '',
Expand Down
2 changes: 1 addition & 1 deletion Generator/Stubs/tests/functional/update.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '',
Expand Down

0 comments on commit 15054d7

Please sign in to comment.