WouterJEloquentBundle
WouterJEloquentBundle copied to clipboard
Include more functional migrator tests
E.g. to catch errors like https://github.com/wouterj/WouterJEloquentBundle/pull/37
I think this can be detected by having a functional test doing:
- 1 migration to create a table => check the table existence
- populate the table => check the number of persisted entities
- reset the migration => check the table (non) existence
At the moment (1) and (2) is already covered: https://github.com/wouterj/WouterJEloquentBundle/blob/master/tests/Functional/MigrationsTest.php
So we just need to extend this with (3).