Skip to content

Commit

Permalink
[Tests] Add doctrine/data-fixtures v2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecorche committed Dec 14, 2024
1 parent 754e467 commit 47fb314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function load(ObjectManager $manager): void
$manager->flush();
}

public function getDependencies()
public function getDependencies(): array
{
return [
TagFixtures::class,
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/App/DataFixtures/TestUserFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function load(ObjectManager $manager): void
}

$userCrudSettings = new UserCrudSettings(
$this->getReference('user_EveReste'),
$this->getReference('user_EveReste', TestUser::class),
'crud_persistent_settings',
50,
['username', 'firstName'],
Expand Down

0 comments on commit 47fb314

Please sign in to comment.