aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/types_local_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/types_local_test.php')
-rw-r--r--tests/files/types_local_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/files/types_local_test.php b/tests/files/types_local_test.php
index 31070de107..7468e9c4a7 100644
--- a/tests/files/types_local_test.php
+++ b/tests/files/types_local_test.php
@@ -38,11 +38,11 @@ class phpbb_files_types_local_test extends phpbb_test_case
/** @var string phpBB root path */
protected $phpbb_root_path;
- protected function setUp()
+ protected function setUp(): void
{
global $phpbb_root_path, $phpEx;
- $this->request = $this->getMock('\phpbb\request\request');
+ $this->request = $this->createMock('\phpbb\request\request');
$this->request->expects($this->any())
->method('file')
->willReturn(array());