@@ -37,7 +37,7 @@ public function defaultValue(): mixed
3737
3838 $ this
3939 ->followingRedirects ()
40- ->post (route ('code16.sharp.filters.update ' , ['test ' ]), ['filterValues ' => ['test ' => '1 ' ]])
40+ ->post (route ('code16.sharp.filters.update ' , ['2 ' ]), ['filterValues ' => ['test ' => '1 ' ]])
4141 ->assertOk ();
4242
4343 $ this ->assertEquals ('1 ' , sharp ()->context ()->globalFilterValue ('test ' ));
@@ -46,7 +46,7 @@ public function defaultValue(): mixed
4646it ('sets to global filter to the default value if missing ' , function () {
4747 $ this
4848 ->followingRedirects ()
49- ->post (route ('code16.sharp.filters.update ' , ['test ' ]), ['filterValues ' => []])
49+ ->post (route ('code16.sharp.filters.update ' , ['2 ' ]), ['filterValues ' => []])
5050 ->assertOk ();
5151
5252 $ this ->assertEquals (2 , sharp ()->context ()->globalFilterValue ('test ' ));
@@ -55,7 +55,7 @@ public function defaultValue(): mixed
5555it ('does not allow to set a global filter to an unexpected value ' , function () {
5656 $ this
5757 ->followingRedirects ()
58- ->post (route ('code16.sharp.filters.update ' , ['test ' ]), ['filterValues ' => ['test ' => 4 ]])
58+ ->post (route ('code16.sharp.filters.update ' , ['2 ' ]), ['filterValues ' => ['test ' => 4 ]])
5959 ->assertOk ();
6060
6161 $ this ->assertEquals (2 , sharp ()->context ()->globalFilterValue ('test ' ));
0 commit comments