Exemple #1
0
 /**
  * Tear down the test environment.
  *
  * @return array
  */
 public function tearDown()
 {
     $user = User::withTrashed()->where('_id', $this->testUser->_id)->first()->forceDelete();
     $this->testUser = array();
 }
Exemple #2
0
 /**
  * Tear down the test environment.
  *
  * @return array
  */
 public function tearDown()
 {
     Kinvey::setAuthMode('admin');
     $user = User::withTrashed()->where('_id', $this->testUser->_id)->first()->forceDelete();
     Kinvey::setAuthMode('app');
 }