Skip to content

Commit bd6ee1a

Browse files
committed
Merge branch 'feat/add-query-in-getters' of github.com:BinarCode/laravel-restify into feat/add-query-in-getters
2 parents 139eb56 + 9380fa5 commit bd6ee1a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Getters/Getter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Binaryk\LaravelRestify\Http\Requests\RestifyRequest;
77
use Binaryk\LaravelRestify\MCP\Actions\JsonSchemaFromRulesAction;
88
use Binaryk\LaravelRestify\Restify;
9-
use Binaryk\LaravelRestify\Services\Search\RepositorySearchService;
109
use Binaryk\LaravelRestify\Traits\AuthorizedToRun;
1110
use Binaryk\LaravelRestify\Traits\AuthorizedToSee;
1211
use Binaryk\LaravelRestify\Traits\Make;

tests/Getters/PerformGetterControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function test_getter_can_access_filtered_query(): void
8484

8585
// Call getter with active filter - should return only 3 active posts
8686
$this
87-
->getJson(PostRepository::getter(PostsFilteredQueryGetter::class) . '?is_active=1')
87+
->getJson(PostRepository::getter(PostsFilteredQueryGetter::class).'?is_active=1')
8888
->assertOk()
8989
->assertJson(
9090
fn (AssertableJson $json) => $json
@@ -95,7 +95,7 @@ public function test_getter_can_access_filtered_query(): void
9595

9696
// Call getter with inactive filter - should return only 2 inactive posts
9797
$this
98-
->getJson(PostRepository::getter(PostsFilteredQueryGetter::class) . '?is_active=0')
98+
->getJson(PostRepository::getter(PostsFilteredQueryGetter::class).'?is_active=0')
9999
->assertOk()
100100
->assertJson(
101101
fn (AssertableJson $json) => $json

0 commit comments

Comments
 (0)