Skip to content

Commit 1d9c1b6

Browse files
committed
test: refactor: remove $this->request that I forgot to remove
1 parent 01fc237 commit 1d9c1b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/system/Filters/FiltersTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,8 @@ public function testAddFilterSection()
725725
$_SERVER['REQUEST_METHOD'] = 'GET';
726726

727727
$config = [];
728-
$this->request = Services::request();
729728
$filtersConfig = $this->createConfigFromArray(FiltersConfig::class, $config);
730-
$filters = new Filters($filtersConfig, $this->request, $this->response);
729+
$filters = $this->createFilters($filtersConfig);
731730

732731
$filters = $filters
733732
->addFilter('Some\OtherClass', 'another', 'before', 'globals')

0 commit comments

Comments
 (0)