Codeception / Codeception/module-doctrine
loadFixtures() doesn't work with Symfony's dependency injection
Abierto
- Lenguaje dominante
- PHP
- Estrellas
- 4
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
When the fixture class is a Symfony service with normal dependency injection (i.e. constructor arguments), loading them with `$I->loadFixtures(AppFixtures::class)` leads to this error message:
> [ArgumentCountError] Too few arguments to function App\DataFixtures\AppFixtures::__construct(), 0 passed in /.../vendor/codeception/module-doctrine2/src/Codeception/Module/Doctrine2.php on line 731 and exactly 4 expected
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.