Ejemplo n.º 1
0
 protected function tearDown()
 {
     parent::tearDown();
     if ($this->model->id) {
         $this->model->delete();
     }
 }
Ejemplo n.º 2
0
 protected function tearDown()
 {
     parent::tearDown();
     foreach ($this->models as $model) {
         $model->delete();
     }
     $this->models = [];
 }
 protected function setUp()
 {
     parent::setUp();
     $config = array('load' => array(__DIR__ . '/../../src/Bazalt/Auth/Webservice/*.php'));
     $this->app = new Tonic\Application($config);
 }