From fb3e0242281e8f9903885d1ab7eddc1ba1c79bc5 Mon Sep 17 00:00:00 2001 From: Benjamin Friedman Date: Sun, 12 Nov 2017 19:28:18 -0800 Subject: [PATCH] Logout user before proceeding with some query tests --- tests/Parse/ParseQueryTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);