diff --git a/tests/interop/AddressbookCollectionTest.php b/tests/interop/AddressbookCollectionTest.php index 5666f28..18926af 100644 --- a/tests/interop/AddressbookCollectionTest.php +++ b/tests/interop/AddressbookCollectionTest.php @@ -141,6 +141,7 @@ public function testCanCreateWebDavResourceForNonCollection(string $abookname, a $this->assertInstanceOf(AddressbookCollection::class, $abook); $this->assertArrayHasKey($abookname, self::$insertedCards); $cardUri = self::$insertedCards[$abookname]['uri']; + $cardUri = TestInfrastructure::normalizeUri($abook, $cardUri); $resource = WebDavResource::createInstance($cardUri, $abook->getAccount()); $this->assertSame(WebDavResource::class, get_class($resource));