Ejemplo n.º 1
0
 public static function tearDownAfterClass()
 {
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 2
0
 public function tearDown()
 {
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 3
0
 protected function tearDown()
 {
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 4
0
 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)));
 }
Ejemplo n.º 5
0
 public function tearDown()
 {
     (new CM_Elasticsearch_Type_Location($this->_elasticsearchClient))->deleteIndex();
     CMTest_TH::getServiceManager()->getElasticsearch()->setEnabled(false);
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 6
0
 public function tearDown()
 {
     CM_Db_Db::truncate('cm_modelmock');
     CM_Db_Db::truncate('modelThasIsAnAssetMock');
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 7
0
 public function tearDown()
 {
     CM_Service_Manager::getInstance()->getMongoDb()->dropDatabase();
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 8
0
 public function tearDown()
 {
     $this->_type->deleteIndex();
     CMTest_TH::getServiceManager()->getElasticsearch()->setEnabled(false);
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 9
0
 public function tearDown()
 {
     CM_Db_Db::truncate('entityMock');
     CMTest_TH::clearEnv();
 }
Ejemplo n.º 10
0
 protected function tearDown()
 {
     CMTest_TH::clearEnv();
     $this->_configInternalFile->delete();
 }
Ejemplo n.º 11
0
 public function tearDown()
 {
     CMTest_TH::getServiceManager()->getElasticsearch()->setEnabled(false);
     CMTest_TH::clearEnv();
 }