diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-05-10 16:46:45 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2020-05-11 16:10:08 +0200 |
commit | 2f8105cabf63f3ef3d4a59c306f4e1403d3c5164 (patch) | |
tree | df35dfe1e9b883c9b6a7e54d16961ab0df38926d /tests/LoggerTest.php | |
parent | aee12a9f372d839cfbbf3005245b0d691cfdbb4b (diff) | |
download | wcms-2f8105cabf63f3ef3d4a59c306f4e1403d3c5164.tar.gz wcms-2f8105cabf63f3ef3d4a59c306f4e1403d3c5164.zip |
fix: log file was not closed
Diffstat (limited to 'tests/LoggerTest.php')
-rw-r--r-- | tests/LoggerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/LoggerTest.php b/tests/LoggerTest.php index eb237ce..5536864 100644 --- a/tests/LoggerTest.php +++ b/tests/LoggerTest.php @@ -388,4 +388,10 @@ class LoggerTest extends FilesTest [4, new Exception('Test 4'), 'Test 4', 0], ]; } + + protected function tearDown(): void + { + parent::tearDown(); + Logger::close(); + } } |