Skip to content

Commit

Permalink
Add Missing Search Tests (#2152)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Jan 6, 2025
1 parent 16a3590 commit 50226f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Unit/Traits/Configuration/SearchConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public function test_cant_set_search_debounce_with_other_search_modifiers(): voi
{
$this->expectException(DataTableConfigurationException::class);

$this->basicTable->setSearchDebounce(1000);
$this->basicTable->setSearchDefer();
$this->basicTable->setSearchDebounce(1000);
}

public function test_can_set_search_defer(): void
Expand All @@ -92,8 +92,8 @@ public function test_cant_set_search_defer_with_other_search_modifiers(): void
{
$this->expectException(DataTableConfigurationException::class);

$this->basicTable->setSearchDefer();
$this->basicTable->setSearchDebounce(1000);
$this->basicTable->setSearchDefer();
}

public function test_can_set_search_lazy(): void
Expand All @@ -110,8 +110,8 @@ public function test_cant_set_search_lazy_with_other_search_modifiers(): void
{
$this->expectException(DataTableConfigurationException::class);

$this->basicTable->setSearchLazy();
$this->basicTable->setSearchDebounce(1000);
$this->basicTable->setSearchLazy();
}

public function test_can_set_search_live(): void
Expand All @@ -128,8 +128,8 @@ public function test_cant_set_search_live_with_other_search_modifiers(): void
{
$this->expectException(DataTableConfigurationException::class);

$this->basicTable->setSearchLive();
$this->basicTable->setSearchDebounce(1000);
$this->basicTable->setSearchLive();
}

public function test_can_set_search_blur(): void
Expand All @@ -146,8 +146,8 @@ public function test_cant_set_search_blur_with_other_search_modifiers(): void
{
$this->expectException(DataTableConfigurationException::class);

$this->basicTable->setSearchBlur();
$this->basicTable->setSearchDefer();
$this->basicTable->setSearchBlur();
}

public function test_can_set_search_throttle(): void
Expand All @@ -165,8 +165,8 @@ public function test_cant_set_search_throttle_with_other_search_modifiers(): voi
{
$this->expectException(DataTableConfigurationException::class);

$this->basicTable->setSearchThrottle(1000);
$this->basicTable->setSearchDefer();
$this->basicTable->setSearchThrottle(1000);
}

public function test_can_set_search_placeholder(): void
Expand Down

0 comments on commit 50226f7

Please sign in to comment.