/** * Tear down the test environment. * * @return array */ public function tearDown() { $user = User::withTrashed()->where('_id', $this->testUser->_id)->first()->forceDelete(); $this->testUser = array(); }
/** * 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'); }