Skip to content

Commit 47fb314

Browse files
committed
[Tests] Add doctrine/data-fixtures v2 support
1 parent 754e467 commit 47fb314

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Functional/App/DataFixtures/EntityManyToOneFixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function load(ObjectManager $manager): void
4040
$manager->flush();
4141
}
4242

43-
public function getDependencies()
43+
public function getDependencies(): array
4444
{
4545
return [
4646
TagFixtures::class,

tests/Functional/App/DataFixtures/TestUserFixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function load(ObjectManager $manager): void
4747
}
4848

4949
$userCrudSettings = new UserCrudSettings(
50-
$this->getReference('user_EveReste'),
50+
$this->getReference('user_EveReste', TestUser::class),
5151
'crud_persistent_settings',
5252
50,
5353
['username', 'firstName'],

0 commit comments

Comments
 (0)