Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading