aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mimetype/guesser_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mimetype/guesser_test.php')
-rw-r--r--tests/mimetype/guesser_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mimetype/guesser_test.php b/tests/mimetype/guesser_test.php
index fa53e6c8c4..238e7ae2d6 100644
--- a/tests/mimetype/guesser_test.php
+++ b/tests/mimetype/guesser_test.php
@@ -27,7 +27,7 @@ class guesser_test extends \phpbb_test_case
protected $fileinfo_supported = false;
- public function setUp()
+ public function setUp(): void
{
global $phpbb_root_path;
@@ -181,7 +181,7 @@ class guesser_test extends \phpbb_test_case
if (!$supported)
{
- $this->setExpectedException('\LogicException');
+ $this->expectException('\LogicException');
}
$guesser = new \phpbb\mimetype\guesser($guessers);