public function UploaderTest::testUploader_exception in One Click Upload 7.2
* @covers ::pruneChunks
File
- flowphp/
test/ Unit/ UploaderTest.php, line 68
Class
- UploaderTest
- Uploader unit tests
Namespace
UnitCode
public function testUploader_exception() {
try {
@Uploader::pruneChunks('not/existing/dir', 30);
$this
->fail();
} catch (FileOpenException $e) {
$this
->assertSame('failed to open folder: not/existing/dir', $e
->getMessage());
}
}