Skip to content

Commit 0cb37a7

Browse files
committed
test: refactor: remove $this->request that I forgot to remove
1 parent 72dbf08 commit 0cb37a7

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
@@ -724,9 +724,8 @@ public function testAddFilterSection()
724724
$_SERVER['REQUEST_METHOD'] = 'GET';
725725

726726
$config = [];
727-
$this->request = Services::request();
728727
$filtersConfig = $this->createConfigFromArray(FiltersConfig::class, $config);
729-
$filters = new Filters($filtersConfig, $this->request, $this->response);
728+
$filters = $this->createFilters($filtersConfig);
730729

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

0 commit comments

Comments
 (0)