Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fixture sharing object feature instead of retreiving data from the database #160

Open
4 tasks
LucileDT opened this issue Apr 28, 2020 · 0 comments
Open
4 tasks
Labels
Enhancement New feature or request Scheduled This commit will be solved in an upcoming version

Comments

@LucileDT
Copy link
Member

Context

We currently select object from the database in the fixtures using their labels but the fixtures bundle provides a better way to use previously created objects: https://symfony.com/doc/master/bundles/DoctrineFixturesBundle/index.html#sharing-objects-between-fixtures

We should use this method instead as it is clearer, faster, and less prone to errors.

Todo

  • update user fixtures
  • update translation fixtures
  • update membership fixtures
  • update donation fixtures
@LucileDT LucileDT added the Enhancement New feature or request label Apr 28, 2020
@LucileDT LucileDT added this to To do in Sprint 12 - Stabilize Structura via automation Apr 29, 2020
@LucileDT LucileDT added the Scheduled This commit will be solved in an upcoming version label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Scheduled This commit will be solved in an upcoming version
Projects
No open projects
Development

No branches or pull requests

1 participant