コード例 #1
1
ファイル: AssetConverterTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     if (is_dir($this->tmpPath)) {
         FileHelper::removeDirectory($this->tmpPath);
     }
     parent::tearDown();
 }
コード例 #2
0
 public function tearDown()
 {
     @unlink(Yii::getAlias('@runtime/faker/user.php'));
     @unlink(Yii::getAlias('@runtime/faker/profile.php'));
     @unlink(Yii::getAlias('@runtime/faker/book.php'));
     parent::tearDown();
 }
コード例 #3
0
 public function tearDown()
 {
     m::close();
     // The mockWebApplication is called after a mock has been already set to the container
     // So we need to manually clear that.
     Yii::$container->clear(AlgoliaFactory::class);
     parent::tearDown();
 }
コード例 #4
0
ファイル: DbTargetTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     parent::tearDown();
     self::getConnection()->createCommand()->truncateTable(self::$logTable)->execute();
 }
コード例 #5
0
ファイル: FormatterNumberTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     parent::tearDown();
     IntlTestHelper::resetIntlStatus();
     $this->formatter = null;
 }
コード例 #6
0
 protected function tearDown()
 {
     $this->_fixtureController = null;
     FixtureStorage::clear();
     parent::tearDown();
 }
コード例 #7
0
ファイル: FormatConverterTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     parent::tearDown();
     IntlTestHelper::resetIntlStatus();
 }
コード例 #8
0
 protected function tearDown()
 {
     parent::tearDown();
     FileHelper::removeDirectory(Yii::getAlias('@runtime/assets'));
     FileHelper::removeDirectory(Yii::getAlias('@runtime/Smarty'));
 }
コード例 #9
0
ファイル: FormatterTest.php プロジェクト: diiimonn/yii2
 protected function tearDown()
 {
     parent::tearDown();
     $this->formatter = null;
 }
コード例 #10
0
 public function tearDown()
 {
     Yii::$app->getDb()->close();
     parent::tearDown();
 }
コード例 #11
0
ファイル: ObjectTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     parent::tearDown();
     $this->object = null;
 }
コード例 #12
0
 public function tearDown()
 {
     m::close();
     parent::tearDown();
 }
コード例 #13
0
ファイル: BaseYiiTest.php プロジェクト: advance100/yunjianyi
 protected function tearDown()
 {
     parent::tearDown();
     Yii::$aliases = $this->aliases;
 }
コード例 #14
0
 public function tearDown()
 {
     $this->tearDownMigrationPath();
     parent::tearDown();
 }
コード例 #15
0
ファイル: ComponentTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     parent::tearDown();
     $this->component = null;
 }
コード例 #16
0
ファイル: UserTest.php プロジェクト: howq/yii2
 protected function tearDown()
 {
     Yii::$app->session->removeAll();
     static::$time = null;
     parent::tearDown();
 }