aboutsummaryrefslogtreecommitdiff
path: root/tests/app/Models/LogDAOTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Models/LogDAOTest.php')
-rw-r--r--tests/app/Models/LogDAOTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/app/Models/LogDAOTest.php b/tests/app/Models/LogDAOTest.php
index 18cad4968..abe6c6c1f 100644
--- a/tests/app/Models/LogDAOTest.php
+++ b/tests/app/Models/LogDAOTest.php
@@ -36,7 +36,7 @@ class LogDAOTest extends TestCase {
$this->logDAO::truncate(self::LOG_FILE_TEST);
- $this->assertStringContainsString('', file_get_contents($this->logPath));
+ $this->assertStringContainsString('', file_get_contents($this->logPath) ?: '');
}
protected function tearDown(): void {