Skip to content

Commit 283dec2

Browse files
committed
better separator for embedded entities
1 parent 523465e commit 283dec2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Annotated/Relation/EmbeddedTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testRelation()
7070
$this->assertArrayHasKey('address', $schema['user'][Schema::RELATIONS]);
7171
$this->assertSame(Relation::EMBEDDED, $schema['user'][Schema::RELATIONS]['address'][Relation::TYPE]);
7272

73-
$this->assertSame("user.address", $schema['user'][Schema::RELATIONS]['address'][Relation::TARGET]);
73+
$this->assertSame("user:address", $schema['user'][Schema::RELATIONS]['address'][Relation::TARGET]);
7474
$this->assertSame(Relation::LOAD_EAGER, $schema['user'][Schema::RELATIONS]['address'][Relation::LOAD]);
7575
}
7676

@@ -108,7 +108,7 @@ public function testRelationLazyLoad()
108108
$this->assertArrayHasKey('address', $schema['user'][Schema::RELATIONS]);
109109
$this->assertSame(Relation::EMBEDDED, $schema['user'][Schema::RELATIONS]['address'][Relation::TYPE]);
110110

111-
$this->assertSame("user.address", $schema['user'][Schema::RELATIONS]['address'][Relation::TARGET]);
111+
$this->assertSame("user:address", $schema['user'][Schema::RELATIONS]['address'][Relation::TARGET]);
112112
$this->assertSame(Relation::LOAD_PROMISE, $schema['user'][Schema::RELATIONS]['address'][Relation::LOAD]);
113113
}
114114
}

0 commit comments

Comments
 (0)