Skip to content

Commit

Permalink
test the right attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Oct 3, 2023
1 parent 9155fa0 commit ff5c0c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public void testPhpAttributesMetadata() {
assertEquals("\\ORM\\Foobar\\Egg", metadata.getField("eggClassString").getRelation());
assertEquals("ManyToMany", metadata.getField("eggClassString").getRelationType());

assertEquals("\\ORM\\Foobar\\Egg", metadata.getField("eggClassString").getRelation());
assertEquals("ManyToMany", metadata.getField("eggClassString").getRelationType());
assertEquals("\\ORM\\Foobar\\Egg", metadata.getField("eggClassStringBackslashless").getRelation());
assertEquals("ManyToMany", metadata.getField("eggClassStringBackslashless").getRelationType());
}

private DoctrineMetadataModel createOrmMetadata() {
Expand Down

0 comments on commit ff5c0c8

Please sign in to comment.