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, 'usernamesHistory' => UsernameHistoryFixture::class, 'oauthClients' => [ 'class' => OauthClientFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/oauth-clients.php', ], 'oauthSessions' => [ 'class' => OauthSessionFixture::class, 'dataFile' => '@tests/codeception/common/fixtures/data/oauth-sessions.php', ], 'minecraftAccessKeys' => MinecraftAccessKeyFixture::class, ]; } }