mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix TempManager test errors about passing null to is_dir
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
ee7ef77808
commit
25fa0b8acd
1 changed files with 3 additions and 1 deletions
|
|
@ -26,7 +26,9 @@ class TempManagerTest extends \Test\TestCase {
|
|||
}
|
||||
|
||||
protected function tearDown(): void {
|
||||
\OC_Helper::rmdirr($this->baseDir);
|
||||
if ($this->baseDir !== null) {
|
||||
\OC_Helper::rmdirr($this->baseDir);
|
||||
}
|
||||
$this->baseDir = null;
|
||||
parent::tearDown();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue