public function FileTest::testFile_construct_getChunkPath in One Click Upload 7.2
* @covers ::getChunkPath
File
- flowphp/
test/ Unit/ FileTest.php, line 82
Class
- FileTest
- File unit tests
Namespace
UnitCode
public function testFile_construct_getChunkPath() {
$request = new Request($this->requestArr);
$file = new File($this->config, $request);
$expPath = $this->vfs
->url() . DIRECTORY_SEPARATOR . sha1($this->requestArr['flowIdentifier']) . '_1';
$this
->assertSame($expPath, $file
->getChunkPath(1));
}