diff --git a/tests/system/Pager/PagerTest.php b/tests/system/Pager/PagerTest.php index 67b19633996f..c940d18c73fe 100644 --- a/tests/system/Pager/PagerTest.php +++ b/tests/system/Pager/PagerTest.php @@ -58,8 +58,6 @@ private function createPager(string $requestUri): void $request = $request->withMethod('GET'); Services::injectMock('request', $request); - Services::injectMock('request', $request); - $this->config = new Pager(); $this->pager = new \CodeIgniter\Pager\Pager($this->config, Services::renderer()); }