File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
tests/Unit/Traits/Styling Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ public function test_has_filter_default_input_styling(): void
1414 $ this ->assertFalse ($ this ->basicTable ->hasDefaultFilterInputStyling ());
1515 }
1616
17- public function test_has_filter_default_input_colors (): void
17+ public function test_can_get_filter_default_input_styling (): void
1818 {
19- $ this ->assertFalse ($ this ->basicTable ->hasDefaultFilterInputColors ());
19+ $ this ->assertFalse ($ this ->basicTable ->hasDefaultFilterInputStyling ());
20+
21+ $ this ->assertSame ('block w-full rounded-md shadow-sm transition duration-150 ease-in-out focus:ring focus:ring-opacity-50 ' , $ this ->getDefaultFilterInputStyling ());
2022 }
2123
2224 public function test_can_set_filter_default_input_styling (): void
@@ -28,6 +30,11 @@ public function test_can_set_filter_default_input_styling(): void
2830 $ this ->assertTrue ($ this ->basicTable ->hasDefaultFilterInputStyling ());
2931 }
3032
33+ public function test_has_filter_default_input_colors (): void
34+ {
35+ $ this ->assertFalse ($ this ->basicTable ->hasDefaultFilterInputColors ());
36+ }
37+
3138 public function test_can_set_filter_default_input_colors (): void
3239 {
3340 $ this ->assertFalse ($ this ->basicTable ->hasDefaultFilterInputColors ());
@@ -36,4 +43,12 @@ public function test_can_set_filter_default_input_colors(): void
3643
3744 $ this ->assertTrue ($ this ->basicTable ->hasDefaultFilterInputColors ());
3845 }
46+
47+ public function test_can_get_filter_default_input_colors (): void
48+ {
49+ $ this ->assertFalse ($ this ->basicTable ->hasDefaultFilterInputColors ());
50+
51+ $ this ->assertSame ('border-gray-300 focus:border-indigo-300 focus:ring-indigo-200 dark:bg-gray-800 dark:text-white dark:border-gray-600 ' , $ this ->getDefaultFilterInputColors ());
52+ }
53+
3954}
You can’t perform that action at this time.
0 commit comments