Skip to content

Commit b34e679

Browse files
committed
Fixes tests.
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 18a3c31 commit b34e679

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Feature/Concerns/AdvancedSearchableTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Orchestra\Model\Tests\Feature\Concerns;
44

5+
use Orchestra\Model\Concerns\AdvancedSearchable;
56
use Illuminate\Foundation\Testing\RefreshDatabase;
67
use Orchestra\Model\Tests\Feature\TestCase;
78
use Orchestra\Model\User;
@@ -86,7 +87,9 @@ public function it_can_search_by_wildcard_array_rules_when_keyword_doesnt_match(
8687

8788
class StubUser extends User
8889
{
89-
public function getSearchableRules(): array
90+
use AdvancedSearchable;
91+
92+
public function getSearchableTerms(): array
9093
{
9194
return [
9295
'is:inactive' => function ($query) {

0 commit comments

Comments
 (0)