Adding additional assertions

parent 5014364a
......@@ -32,6 +32,8 @@ final class EloquentFolderRepositoryTest extends MediaTestCase
$this->assertEquals('My Folder', $folder->filename);
$this->assertEquals('/assets/media/my-folder', $folder->path->getRelativeUrl());
$this->assertTrue( $folder->is_folder);
$this->assertTrue( $folder->isFolder());
$this->assertEquals(0, $folder->folder_id);
}
private function resetDatabase()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment