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' => [ 'class' => EmailActivationFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/email-activations.php', ], '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', ], ]; } }