[TESTS] Fix remaining tests, back to 100% passed. Some minor semantic changes

This commit is contained in:
2021-11-16 14:10:19 +00:00
parent c68d7ae406
commit b4ce77320e
10 changed files with 48 additions and 50 deletions

View File

@@ -45,7 +45,7 @@ class TemporaryFileTest extends WebTestCase
$temp = new TemporaryFile();
$filepath = $temp->getRealPath();
static::assertThrows(TemporaryFileException::class, fn () => $temp->commit($filepath));
static::assertThrows(TemporaryFileException::class, fn () => $temp->commit('/root/cannot_write_here'));
static::assertThrows(TemporaryFileException::class, fn () => $temp->commit('/root/not-a-folder/cannot_write_here'));
}
public function testCreateDirectory()