本文整理匯總了PHP中ZurmoBaseTest::teardown方法的典型用法代碼示例。如果您正苦於以下問題:PHP ZurmoBaseTest::teardown方法的具體用法?PHP ZurmoBaseTest::teardown怎麽用?PHP ZurmoBaseTest::teardown使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ZurmoBaseTest
的用法示例。
在下文中一共展示了ZurmoBaseTest::teardown方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: teardown
public function teardown()
{
if ($this->freeze) {
RedBeanDatabase::freeze();
}
parent::teardown();
}
示例2: teardown
public function teardown()
{
$super = User::getByUsername('super');
Yii::app()->user->userModel = $super;
Account::deleteAll();
parent::teardown();
}
示例3: teardown
public function teardown()
{
$marketingLists = MarketingList::getAll();
$this->assertCount(1, $marketingLists);
$marketingLists[0]->delete();
parent::teardown();
}
示例4: teardown
public function teardown()
{
$super = User::getByUsername('super');
Yii::app()->user->userModel = $super;
$accounts = Account::getAll();
foreach ($accounts as $account) {
$account->delete();
}
parent::teardown();
}
示例5: teardown
public function teardown()
{
date_default_timezone_set($this->defaultTimeZone);
parent::teardown();
}
示例6: teardown
public function teardown()
{
parent::teardown();
}
示例7: teardown
public function teardown()
{
AuditEvent::$isTableOptimized = false;
parent::teardown();
}
示例8: teardown
public function teardown()
{
parent::teardown();
Yii::app()->params['processReadMungeAsWriteMunge'] = $this->processReadMungeAsWriteMungeValue;
}