public function tearDown() { parent::tearDown(); if (!$this->isSqliteInMemory()) { $this->app['orm.em']->getConnection()->rollback(); $this->app['orm.em']->getConnection()->close(); } $this->cleanUpProperties(); $this->app = null; }
public function tearDown() { $to = __DIR__ . '/../../../../../app/Plugin/HookPoint'; // テスト用プラグインを削除. $fs = new Filesystem(); $fs->remove($to); parent::tearDown(); $this->client = null; }