Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix TempManager test errors about passing null to is_dir
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Nov 23, 2021
commit 25fa0b8acd0c0304fb9b97072f705be1767c4772
4 changes: 3 additions & 1 deletion tests/lib/TempManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ protected function setUp(): void {
}

protected function tearDown(): void {
\OC_Helper::rmdirr($this->baseDir);
if ($this->baseDir !== null) {
\OC_Helper::rmdirr($this->baseDir);
}
$this->baseDir = null;
parent::tearDown();
}
Expand Down