Skip to content

Commit c714216

Browse files
committed
Test fix
1 parent 1642af8 commit c714216

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_test/SearchConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public function test_filtervars_ignore_dynamic_filters()
7575
$this->assertSame([], $searchConfig->getSorts());
7676
$this->assertEquals([], $this->getInaccessibleProperty($searchConfig, 'filter'));
7777

78-
unset($INPUT[meta\SearchConfigParameters::$PARAM_SORT]);
79-
unset($INPUT[meta\SearchConfigParameters::$PARAM_OFFSET]);
78+
$INPUT->remove(meta\SearchConfigParameters::$PARAM_SORT);
79+
$INPUT->remove(meta\SearchConfigParameters::$PARAM_OFFSET);
8080
unset($_REQUEST[meta\SearchConfigParameters::$PARAM_FILTER]);
8181
}
8282

0 commit comments

Comments
 (0)