diff --git a/tests/Models/MediaMapperTest.php b/tests/Models/MediaMapperTest.php index d192ff2..820b30d 100755 --- a/tests/Models/MediaMapperTest.php +++ b/tests/Models/MediaMapperTest.php @@ -167,7 +167,7 @@ final class MediaMapperTest extends \PHPUnit\Framework\TestCase self::assertGreaterThan(0, $media->id); self::assertEquals($idMedia, $media->id); - $collectionR = MediaMapper::getParentCollection($collection->virtualPath . '/Collection/sub/file.txt')->execute(); + $collectionR = MediaMapper::getParentCollection($collection->virtualPath . '/Collection/file.txt')->execute(); self::assertEquals($idCollection, $collectionR->id); self::assertEquals($collection->name, $collectionR->name); }