1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

feat(tests): update tests for MediaFolders #477

This commit is contained in:
Awilum
2020-10-19 00:25:53 +03:00
parent f463301780
commit e0f655860d

View File

@@ -32,7 +32,7 @@ test('test delete() method', function () {
$this->assertFalse(flextype('media_folders')->delete('bar'));
});
test('test getDirectoryLocation entry', function () {
test('test getDirectoryLocation() method', function () {
$this->assertTrue(flextype('media_folders')->create('foo'));
$this->assertStringContainsString('/foo',
flextype('media_folders')->getDirectoryLocation('foo'));