Browse Source

Fix TempManager test errors about passing null to is_dir

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/29432/head
Côme Chilliet 5 years ago
parent
commit
25fa0b8acd
No known key found for this signature in database GPG Key ID: A3E2F658B28C760A
  1. 4
      tests/lib/TempManagerTest.php

4
tests/lib/TempManagerTest.php

@ -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…
Cancel
Save