Exemplo n.º 1
0
 public function tearDown()
 {
     M::close();
     $all = Misfit::all();
     $all->each(function ($u) {
         $u->delete();
     });
     parent::tearDown();
 }
 public function tearDown()
 {
     $query = 'MATCH (n:User) WHERE n.username = {username} DELETE n RETURN count(n)';
     $c = $this->getConnectionWithConfig('default');
     $cypher = $c->getCypherQuery($query, array(array('username' => $this->user['username'])));
     $cypher->getResultSet();
     M::close();
     parent::tearDown();
 }
 public function tearDown()
 {
     M::close();
     // Mama said, always clean up before you go. =D
     $w = Wiz::all();
     $w->each(function ($me) {
         $me->delete();
     });
     parent::tearDown();
 }
 public function tearDown()
 {
     M::close();
     $users = User::all();
     $users->each(function ($u) {
         $u->delete();
     });
     $roles = Role::all();
     $roles->each(function ($r) {
         $r->delete();
     });
     parent::tearDown();
 }
Exemplo n.º 5
0
 public function tearDown()
 {
     M::close();
     $users = User::all();
     $users->each(function ($u) {
         $u->delete();
     });
     $accs = Profile::all();
     $accs->each(function ($a) {
         $a->delete();
     });
     parent::tearDown();
 }
Exemplo n.º 6
0
 public function tearDown()
 {
     M::close();
     $authors = Author::all();
     $authors->each(function ($a) {
         $a->delete();
     });
     $books = Book::all();
     $books->each(function ($b) {
         $b->delete();
     });
     parent::tearDown();
 }
Exemplo n.º 7
0
 public function tearDown()
 {
     M::close();
     $users = User::all();
     $users->each(function ($u) {
         $u->delete();
     });
     $locs = Location::all();
     $locs->each(function ($l) {
         $l->delete();
     });
     parent::tearDown();
 }
Exemplo n.º 8
0
 public function tearDown()
 {
     M::close();
     parent::tearDown();
 }