From 6a6580c4705041340b735d2a3089661395e470b3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 22:53:57 +0000 Subject: [PATCH] fix tests --- tests/Models/MediaMapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }