diff options
Diffstat (limited to 'tests/app/Models/LogDAOTest.php')
| -rw-r--r-- | tests/app/Models/LogDAOTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/app/Models/LogDAOTest.php b/tests/app/Models/LogDAOTest.php index 4d9ec0e7d..90261ae55 100644 --- a/tests/app/Models/LogDAOTest.php +++ b/tests/app/Models/LogDAOTest.php @@ -10,6 +10,7 @@ class LogDAOTest extends TestCase { private string $logPath; + #[\Override] protected function setUp(): void { $this->logDAO = new FreshRSS_LogDAO(); $this->logPath = FreshRSS_LogDAO::logPath(self::LOG_FILE_TEST); @@ -36,6 +37,7 @@ class LogDAOTest extends TestCase { self::assertStringContainsString('', file_get_contents($this->logPath) ?: ''); } + #[\Override] protected function tearDown(): void { unlink($this->logPath); } |
