aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mimetype
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mimetype')
-rw-r--r--tests/mimetype/guesser_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mimetype/guesser_test.php b/tests/mimetype/guesser_test.php
index 244293020f..a211b99147 100644
--- a/tests/mimetype/guesser_test.php
+++ b/tests/mimetype/guesser_test.php
@@ -35,7 +35,7 @@ class guesser_test extends \phpbb_test_case
);
// Check if any guesser except the extension_guesser is available
- $this->fileinfo_supported = (bool) $guessers[0]->isSupported() | $guessers[1]->isSupported() | $guessers[3]->is_supported();
+ $this->fileinfo_supported = $guessers[0]->isSupported() | $guessers[1]->isSupported() | $guessers[3]->is_supported();
$this->guesser = new \phpbb\mimetype\guesser($guessers);
$this->path = dirname(__FILE__);