aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security
diff options
context:
space:
mode:
Diffstat (limited to 'tests/security')
-rw-r--r--tests/security/hash_test.php2
-rw-r--r--tests/security/redirect_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/security/hash_test.php b/tests/security/hash_test.php
index 84d4fcf479..113c32bf7f 100644
--- a/tests/security/hash_test.php
+++ b/tests/security/hash_test.php
@@ -18,7 +18,7 @@ class phpbb_security_hash_test extends phpbb_test_case
global $phpbb_container;
$config = new \phpbb\config\config(array());
- $phpbb_container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
+ $phpbb_container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
$driver_helper = new \phpbb\passwords\driver\helper($config);
$passwords_drivers = array(
'passwords.driver.bcrypt_2y' => new \phpbb\passwords\driver\bcrypt_2y($config, $driver_helper),
diff --git a/tests/security/redirect_test.php b/tests/security/redirect_test.php
index 0177eb4259..0d08eaeac1 100644
--- a/tests/security/redirect_test.php
+++ b/tests/security/redirect_test.php
@@ -67,7 +67,7 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
new phpbb_mock_request()
),
new \phpbb\filesystem\filesystem(),
- $this->getMock('\phpbb\request\request'),
+ $this->createMock('\phpbb\request\request'),
$this->phpbb_root_path,
'php'
);