diff --git a/tests/Parse/ParseQueryTest.php b/tests/Parse/ParseQueryTest.php index c3dd74da..b5f8d85e 100644 --- a/tests/Parse/ParseQueryTest.php +++ b/tests/Parse/ParseQueryTest.php @@ -210,9 +210,9 @@ public function testStartsWithMiddle() { $user = ParseUser::getCurrentUser(); - if (isset($user)) { - throw new ParseException($user->_encode()); + // logout the current user + ParseUser::logOut(); } $this->provideTestObjects(10);