I am trying to load and remove some dataFixtures ...
The fixtures are correctly loaded but are never removed (remove function called in tearDown or tearDownAfterClass function does not seem to work well).
the remove is OK at the end of the last test, but KO after the first one.
I made a little example as you can see the issue by yourself:
The result:
$ phpunit -c app/
PHPUnit 4.8.16 by Sebastian Bergmann and contributors.
Hello,
I am trying to load and remove some dataFixtures ...
The fixtures are correctly loaded but are never removed (remove function called in tearDown or tearDownAfterClass function does not seem to work well).
the remove is OK at the end of the last test, but KO after the first one.
I made a little example as you can see the issue by yourself:
The result: $ phpunit -c app/ PHPUnit 4.8.16 by Sebastian Bergmann and contributors.
The config_test.yml: imports:
The Test class:
The fixtures:
The Entity: <?php