From a506c1b9cbd43f43275871052542b437ee925739 Mon Sep 17 00:00:00 2001 From: Joe <104938042+lrljoe@users.noreply.github.com> Date: Mon, 6 Jan 2025 04:20:42 +0000 Subject: [PATCH] Add Missing Search Tests --- .../Traits/Configuration/SearchConfigurationTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/Unit/Traits/Configuration/SearchConfigurationTest.php b/tests/Unit/Traits/Configuration/SearchConfigurationTest.php index 6b6635533..61f44d4dd 100644 --- a/tests/Unit/Traits/Configuration/SearchConfigurationTest.php +++ b/tests/Unit/Traits/Configuration/SearchConfigurationTest.php @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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