aboutsummaryrefslogtreecommitdiffstats
path: root/tests/installer
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-08-27 10:51:10 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:29:05 +0200
commit16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11 (patch)
treee4f44b05770bebca7b39ee07561268ea1e0ecbd9 /tests/installer
parentb2957b9d6543737076d96209ba0f12e2fc145a9a (diff)
downloadforums-16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11.tar
forums-16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11.tar.gz
forums-16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11.tar.bz2
forums-16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11.tar.xz
forums-16f3b8c2b9de388223cbe8ace9e1d9bcf0ba5e11.zip
[ticket/13904] Modify files for changes in ini wrapper
PHPBB3-13904
Diffstat (limited to 'tests/installer')
-rw-r--r--tests/installer/installer_config_test.php6
-rw-r--r--tests/installer/module_base_test.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/installer/installer_config_test.php b/tests/installer/installer_config_test.php
index c7334ebd93..7de23aea36 100644
--- a/tests/installer/installer_config_test.php
+++ b/tests/installer/installer_config_test.php
@@ -24,11 +24,11 @@ class phpbb_installer_config_test extends phpbb_test_case
{
$phpbb_root_path = __DIR__ . './../../phpBB/';
$filesystem = $this->getMock('\phpbb\filesystem\filesystem');
- $php_ini = $this->getMockBuilder('\phpbb\php\ini')
+ $php_ini = $this->getMockBuilder('\bantu\IniGetWrapper\IniGetWrapper')
->getMock();
- $php_ini->method('get_int')
+ $php_ini->method('getInt')
->willReturn(-1);
- $php_ini->method('get_bytes')
+ $php_ini->method('getBytes')
->willReturn(-1);
$this->config = new config($filesystem, $php_ini, $phpbb_root_path);
diff --git a/tests/installer/module_base_test.php b/tests/installer/module_base_test.php
index fd92c9b674..9578010047 100644
--- a/tests/installer/module_base_test.php
+++ b/tests/installer/module_base_test.php
@@ -43,7 +43,7 @@ class module_base_test extends phpbb_test_case
$this->module = new test_installer_module($module_collection, true, false);
$iohandler = $this->getMock('\phpbb\install\helper\iohandler\iohandler_interface');
- $config = new \phpbb\install\helper\config(new \phpbb\filesystem\filesystem(), new \phpbb\php\ini(), '', 'php');
+ $config = new \phpbb\install\helper\config(new \phpbb\filesystem\filesystem(), new \bantu\IniGetWrapper\IniGetWrapper(), '', 'php');
$this->module->setup($config, $iohandler);
}