Exemplo n.º 1
0
 /**
  * Shared setUp method.
  * Require a test user, and
  * create a theme to test with.
  */
 public function setUp()
 {
     parent::setUp();
     $this->testuserid = $this->create_test_user();
     $this->theme = new Theme($this->testuserid);
 }
 /**
  * Clean up after ourselves.
  */
 public function tearDown()
 {
     parent::tearDown();
 }
Exemplo n.º 3
0
 /**
  * clean up after ourselves,
  * just delete the test view we made
  * and call the parent method
  */
 public function tearDown()
 {
     $this->view->delete();
     parent::tearDown();
 }