/**
  * Tears down this test suite.
  *
  * @return void
  */
 public function tearDown()
 {
     $this->testingFramework->cleanUp();
     // clean up environment
     $this->dropDummyTable();
     $this->dropDummyField();
     unset($this->testingFramework);
     unset($this->collectionRecord);
     unset($this->fixture);
     unset($this->database);
 }
Exemplo n.º 2
0
 /**
  * @test
  */
 public function cleanUpDiscardsFakeFrontEnd()
 {
     $this->subject->createFrontEndPage();
     $this->subject->createFakeFrontEnd();
     $this->subject->cleanUp();
     self::assertFalse($this->subject->hasFakeFrontEnd());
 }
Exemplo n.º 3
0
 protected function tearDown()
 {
     $this->testingFramework->cleanUp();
 }
 /**
  * Tear down and remove records
  *
  * @return void
  */
 public function tearDown()
 {
     $this->testingFramework->cleanUp();
     unset($this->testingFramework);
 }
Exemplo n.º 5
0
 /**
  * Tear down
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->bannerService);
     $this->testingFramework->cleanUp();
     unset($this->testingFramework, $this->bannerRepository);
 }
Exemplo n.º 6
0
 /**
  * @test
  */
 public function cleanUpDiscardsFakeFrontEnd()
 {
     $this->fixture->createFakeFrontEnd();
     $this->fixture->cleanUp();
     $this->assertFalse($this->fixture->hasFakeFrontEnd());
 }