Skip to content

Commit de13f33

Browse files
committed
remove ::class to remain 5.4 compatible ¯\_(ツ)_/¯
1 parent c8bcde0 commit de13f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Gedmo/Tree/NestedTreeRootTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public function testTreeWithRootPointingAtAnotherTable()
330330
{
331331
// depopulate, i don't want the other stuff in db
332332
/** @var NestedTreeRepository $repo */
333-
$repo = $this->em->getRepository(ForeignRootCategory::class);
333+
$repo = $this->em->getRepository("Tree\\Fixture\\ForeignRootCategory");
334334
$all = $repo->findAll();
335335
foreach ($all as $one) {
336336
$this->em->remove($one);
@@ -495,7 +495,7 @@ protected function getUsedEntityFixtures()
495495
{
496496
return array(
497497
self::CATEGORY,
498-
ForeignRootCategory::class,
498+
"Tree\\Fixture\\ForeignRootCategory",
499499
);
500500
}
501501

0 commit comments

Comments
 (0)