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 zalas/phpunit-injector instead of a Trait? #18

Closed
alexislefebvre opened this issue Jun 23, 2019 · 1 comment
Closed

Use zalas/phpunit-injector instead of a Trait? #18

alexislefebvre opened this issue Jun 23, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@alexislefebvre
Copy link
Collaborator

alexislefebvre commented Jun 23, 2019

Is your feature request related to a problem? Please describe.
I'm not fond of the usage of a Trait to load fixtures.

Describe the solution you'd like
Document how to use https://github.com/jakzal/phpunit-injector in order to inject the liip_test_fixtures.services.database_tool_collection service in a test class.

Describe alternatives you've considered
.

Additional context
.

@alexislefebvre
Copy link
Collaborator Author

Relying on another dependency is cumbersome. I'm closing this in favor of #89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant