本文整理汇总了PHP中CMTest_TH::clearEnv方法的典型用法代码示例。如果您正苦于以下问题:PHP CMTest_TH::clearEnv方法的具体用法?PHP CMTest_TH::clearEnv怎么用?PHP CMTest_TH::clearEnv使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CMTest_TH
的用法示例。
在下文中一共展示了CMTest_TH::clearEnv方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDownAfterClass
public static function tearDownAfterClass()
{
CMTest_TH::clearEnv();
}
示例2: tearDown
public function tearDown()
{
CMTest_TH::clearEnv();
}
示例3: tearDown
protected function tearDown()
{
CMTest_TH::clearEnv();
}
示例4: setUp
public function setUp()
{
CMTest_TH::clearEnv();
CM_Db_Db::replace('cm_actionLimit', array('actionType', 'actionVerb', 'type', 'role', 'limit', 'period'), array(array($this->_actionType, $this->_actionVerb, $this->_type, $this->_role, 2, 3), array($this->_actionType, $this->_actionVerb, $this->_type, null, 10, 11)));
}
示例5: tearDown
public function tearDown()
{
(new CM_Elasticsearch_Type_Location($this->_elasticsearchClient))->deleteIndex();
CMTest_TH::getServiceManager()->getElasticsearch()->setEnabled(false);
CMTest_TH::clearEnv();
}
示例6: tearDown
public function tearDown()
{
CM_Db_Db::truncate('cm_modelmock');
CM_Db_Db::truncate('modelThasIsAnAssetMock');
CMTest_TH::clearEnv();
}
示例7: tearDown
public function tearDown()
{
CM_Service_Manager::getInstance()->getMongoDb()->dropDatabase();
CMTest_TH::clearEnv();
}
示例8: tearDown
public function tearDown()
{
$this->_type->deleteIndex();
CMTest_TH::getServiceManager()->getElasticsearch()->setEnabled(false);
CMTest_TH::clearEnv();
}
示例9: tearDown
public function tearDown()
{
CM_Db_Db::truncate('entityMock');
CMTest_TH::clearEnv();
}
示例10: tearDown
protected function tearDown()
{
CMTest_TH::clearEnv();
$this->_configInternalFile->delete();
}
示例11: tearDown
public function tearDown()
{
CMTest_TH::getServiceManager()->getElasticsearch()->setEnabled(false);
CMTest_TH::clearEnv();
}