tearDown() 공개 메소드

トランザクションをロールバックする.
public tearDown ( )
예제 #1
0
 public function tearDown()
 {
     $to = __DIR__ . '/../../../../../app/Plugin/HookPoint';
     // テスト用プラグインを削除.
     $fs = new Filesystem();
     $fs->remove($to);
     parent::tearDown();
     $this->client = null;
 }
예제 #2
0
 public function tearDown()
 {
     /** @var EntityManager $em */
     $em = $this->app['orm.em'];
     $conn = $em->getConnection();
     $conn->rollback();
     $this->dropTable($conn->getWrappedConnection());
     $conn->beginTransaction();
     parent::tearDown();
 }
예제 #3
0
 public function tearDown()
 {
     parent::tearDown();
     $this->client = null;
 }
예제 #4
0
 public function tearDown()
 {
     parent::tearDown();
 }