@@ -36,36 +36,36 @@ public function test_can_store_for_fikers(): void
3636        $ this  ->assertSame (['breed '  => ['1 ' ]], $ this  ->basicTable ->appliedFilters );
3737        $ this  ->assertSame (['breed '  => ['1 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
3838
39-         $ this  ->basicTable ->setFilter ('breed ' , ['22 ' ]);
40-         $ this  ->assertSame (['breed '  => ['22 ' ]], $ this  ->basicTable ->appliedFilters );
41-         $ this  ->assertSame (['22 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
42-         $ this  ->assertSame (['breed '  => ['22 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
39+         $ this  ->basicTable ->setFilter ('breed ' , ['2 ' ]);
40+         $ this  ->assertSame (['breed '  => ['2 ' ]], $ this  ->basicTable ->appliedFilters );
41+         $ this  ->assertSame (['2 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
42+         $ this  ->assertSame (['breed '  => ['2 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
4343
4444        $ this  ->basicTable ->restoreFilterValues ();
45-         $ this  ->assertSame (['22 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
46-         $ this  ->assertSame (['breed '  => ['22 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
45+         $ this  ->assertSame (['2 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
46+         $ this  ->assertSame (['breed '  => ['2 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
4747
4848        $ this  ->basicTable ->clearStoredFilterValues ();
4949        $ this  ->assertSame ([], $ this  ->basicTable ->getStoredFilterValues ());
50-         $ this  ->assertSame (['22 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
50+         $ this  ->assertSame (['2 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
5151
52-         $ this  ->basicTable ->setFilter ('breed ' , ['33 ' ]);
53-         $ this  ->assertSame (['breed '  => ['33 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
54-         $ this  ->assertSame (['33 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
52+         $ this  ->basicTable ->setFilter ('breed ' , ['3 ' ]);
53+         $ this  ->assertSame (['breed '  => ['3 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
54+         $ this  ->assertSame (['3 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
5555
56-         $ this  ->basicTable ->appliedFilters  = $ this  ->basicTable ->filterComponents  = ['breed '  => ['44 ' ]];
56+         $ this  ->basicTable ->appliedFilters  = $ this  ->basicTable ->filterComponents  = ['breed '  => ['4 ' ]];
5757        $ this  ->basicTable ->storeFilterValues ();
58-         $ this  ->assertSame (['44 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
58+         $ this  ->assertSame (['4 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
5959
6060        $ this  ->basicTable ->appliedFilters  = $ this  ->basicTable ->filterComponents  = [];
6161        $ this  ->assertNull ($ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
6262        $ this  ->assertSame ([], $ this  ->basicTable ->appliedFilters );
6363        $ this  ->assertSame ([], $ this  ->basicTable ->filterComponents );
6464
6565        $ this  ->basicTable ->restoreFilterValues ();
66-         $ this  ->assertSame (['breed '  => ['44 ' ]], $ this  ->basicTable ->appliedFilters );
67-         $ this  ->assertSame (['44 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
68-         $ this  ->assertSame (['breed '  => ['44 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
66+         $ this  ->assertSame (['breed '  => ['4 ' ]], $ this  ->basicTable ->appliedFilters );
67+         $ this  ->assertSame (['4 ' ], $ this  ->basicTable ->getAppliedFilterWithValue ('breed ' ));
68+         $ this  ->assertSame (['breed '  => ['4 ' ]], $ this  ->basicTable ->getStoredFilterValues ());
6969
7070    }
7171
0 commit comments