aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pagination/pagination_test.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-09-16 01:25:36 +0200
committerTristan Darricau <github@nicofuma.fr>2014-09-16 01:25:36 +0200
commitf4260e261ff03cbe1467f4c9400310bacf72ffff (patch)
treeb6574770b14ba58b51d8a978e55fad2dbadd52a6 /tests/pagination/pagination_test.php
parent68ad7685bc12050cf6779d41f6ac36e8fe1a98e1 (diff)
downloadforums-f4260e261ff03cbe1467f4c9400310bacf72ffff.tar
forums-f4260e261ff03cbe1467f4c9400310bacf72ffff.tar.gz
forums-f4260e261ff03cbe1467f4c9400310bacf72ffff.tar.bz2
forums-f4260e261ff03cbe1467f4c9400310bacf72ffff.tar.xz
forums-f4260e261ff03cbe1467f4c9400310bacf72ffff.zip
[ticket/13034] Fix tests
PHPBB3-13034
Diffstat (limited to 'tests/pagination/pagination_test.php')
-rw-r--r--tests/pagination/pagination_test.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pagination/pagination_test.php b/tests/pagination/pagination_test.php
index ad7d207bb5..95856dd07d 100644
--- a/tests/pagination/pagination_test.php
+++ b/tests/pagination/pagination_test.php
@@ -34,9 +34,10 @@ class phpbb_pagination_pagination_test extends phpbb_template_template_test_case
->method('lang')
->will($this->returnCallback(array($this, 'return_callback_implode')));
+ $filesystem = new \phpbb\filesystem();
$manager = new phpbb_mock_extension_manager(dirname(__FILE__) . '/', array());
$finder = new \phpbb\finder(
- new \phpbb\filesystem(),
+ $filesystem,
dirname(__FILE__) . '/',
new phpbb_mock_cache()
);
@@ -56,7 +57,7 @@ class phpbb_pagination_pagination_test extends phpbb_template_template_test_case
$request
);
- $this->helper = new phpbb_mock_controller_helper($this->template, $this->user, $this->config, $provider, $manager, $symfony_request, '', 'php', dirname(__FILE__) . '/');
+ $this->helper = new phpbb_mock_controller_helper($this->template, $this->user, $this->config, $provider, $manager, $symfony_request, $filesystem, '', 'php', dirname(__FILE__) . '/');
$this->pagination = new \phpbb\pagination($this->template, $this->user, $this->helper);
}