framework/tests
Alexander Skvortsov ae280016e7 Tests: remove prepDb workaround
Previously, the `prepareDatabase` method would directly modify the database, booting the app in the process. This would prevent any extenders from being applied, since `->extend()` has no effect once the app is booted.

Since the new implementation of `prepareDatabase` simply registers seed data to be applied during app boot, the workaround of sticking this seed data into `prepDb` is no longer necessary, and seed data common to all test cases in a class can be provided in `setUp`.

When needed, app boot is explicitly triggered in individual test cases by calling `$this->app()`.
2021-01-09 00:35:55 -05:00
..
fixtures View Extender (add namespace) (#2134) 2020-07-17 11:59:00 +02:00
integration Tests: remove prepDb workaround 2021-01-09 00:35:55 -05:00
unit Add @inheritDoc to all setUp and tearDown methods 2021-01-09 00:35:55 -05:00
phpunit.integration.xml Use process isolation for integration tests 2020-12-01 19:33:24 -05:00
phpunit.unit.xml Automatically set up Mockery for unit tests 2019-11-21 00:51:11 +01:00