File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -42,4 +42,17 @@ public function test_can_check_if_is_reorder_column(): void
4242 $ this ->assertFalse (self ::$ columnInstance ->isReorderColumn ());
4343
4444 }
45+
46+ public function test_can_get_sorting_pills_direction_deprecated (): void
47+ {
48+ $ this ->assertSame ('A-Z ' ,self ::$ columnInstance ->getSortingPillDirection ($ this ->basicTable ,'asc ' ));
49+ $ this ->assertSame ('Z-A ' , self ::$ columnInstance ->getSortingPillDirection ($ this ->basicTable ,'desc ' ));
50+
51+ self ::$ columnInstance ->setSortingPillDirections ('1-2 ' , '2-1 ' );
52+ $ this ->assertSame ('1-2 ' ,self ::$ columnInstance ->getSortingPillDirection ($ this ->basicTable ,'asc ' ));
53+ $ this ->assertSame ('2-1 ' ,self ::$ columnInstance ->getSortingPillDirection ($ this ->basicTable ,'desc ' ));
54+
55+ }
56+
57+
4558}
You can’t perform that action at this time.
0 commit comments