loadFixtures(); } public function _after(TestCase $test) { $this->unloadFixtures(); } public function globalFixtures() { return [ InitDbFixture::className(), ]; } public function fixtures() { return [ 'accounts' => [ 'class' => AccountFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/accounts.php', ], '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', ], ]; } }