loadFixtures(); } public function _after(TestCase $test) { $this->unloadFixtures(); } public function globalFixtures() { return [ InitDbFixture::className(), ]; } public function fixtures() { return [ 'accounts' => AccountFixture::class, 'accountSessions' => AccountSessionFixture::class, 'emailActivations' => EmailActivationFixture::class, 'oauthClients' => [ 'class' => OauthClientFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/oauth-clients.php', ], 'oauthScopes' => [ 'class' => OauthScopeFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/oauth-scopes.php', ], 'oauthSessions' => [ 'class' => OauthSessionFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/oauth-sessions.php', ], ]; } }