本文整理汇总了PHP中yii\codeception\TestCase::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP TestCase::tearDown方法的具体用法?PHP TestCase::tearDown怎么用?PHP TestCase::tearDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类yii\codeception\TestCase
的用法示例。
在下文中一共展示了TestCase::tearDown方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
public function tearDown()
{
Yii::$app->cache->flush();
parent::tearDown();
}
示例2: tearDown
protected function tearDown()
{
unlink($this->getMessageFile());
parent::tearDown();
}
示例3: tearDown
protected function tearDown()
{
Yii::$app->user->logout();
parent::tearDown();
}
示例4: tearDown
public function tearDown()
{
Yii::$app->getDb()->createCommand()->delete('test_auto_timestamp')->execute();
Yii::$app->getDb()->close();
parent::tearDown();
}
示例5: tearDown
protected function tearDown()
{
parent::tearDown();
}
示例6: tearDown
public function tearDown()
{
//data\Post::deleteAll();
parent::tearDown();
}
示例7: tearDown
protected function tearDown()
{
$this->redis->executeCommand('FLUSHDB');
parent::tearDown();
}
示例8: tearDown
/**
* @inheritdoc
*/
protected function tearDown()
{
$this->factory->workflowSourceNamespace = null;
parent::tearDown();
}
示例9: tearDown
protected function tearDown()
{
$this->model->delete();
parent::tearDown();
}
示例10: tearDown
/**
* @inheritdoc
*/
protected function tearDown()
{
$this->tester->deleteSaved();
parent::tearDown();
}
示例11: tearDown
protected function tearDown()
{
parent::tearDown();
unlink(__DIR__ . '/../fixtures/data/.env');
}
示例12: tearDown
protected function tearDown()
{
User::deleteAll('email = :email', [':email' => Commons::TEST_EMAIL]);
parent::tearDown();
}