aboutsummaryrefslogtreecommitdiffstats
path: root/tests/feed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/feed')
-rw-r--r--tests/feed/attachments_base_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/feed/attachments_base_test.php b/tests/feed/attachments_base_test.php
index 573218be42..3798056f10 100644
--- a/tests/feed/attachments_base_test.php
+++ b/tests/feed/attachments_base_test.php
@@ -25,7 +25,7 @@ class phpbb_feed_attachments_base_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/../extension/fixtures/extensions.xml');
}
- public function setUp()
+ public function setUp(): void
{
global $phpbb_root_path, $phpEx;
@@ -36,7 +36,7 @@ class phpbb_feed_attachments_base_test extends phpbb_database_test_case
new phpbb_mock_request()
),
$this->filesystem,
- $this->getMock('\phpbb\request\request'),
+ $this->createMock('\phpbb\request\request'),
$phpbb_root_path,
'php'
);
@@ -99,7 +99,7 @@ class phpbb_feed_attachments_base_test extends phpbb_database_test_case
if ($expected_exception !== false)
{
- $this->setExpectedException($expected_exception);
+ $this->expectException($expected_exception);
$this->attachments_mocks_feed->get_sql();
}