Skip to content

Commit fe0fd2b

Browse files
authored
Logout user before proceeding with some query tests (#374)
1 parent 2b8ea3f commit fe0fd2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Parse/ParseQueryTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ public function testStartsWithMiddle()
210210
{
211211

212212
$user = ParseUser::getCurrentUser();
213-
214213
if (isset($user)) {
215-
throw new ParseException($user->_encode());
214+
// logout the current user
215+
ParseUser::logOut();
216216
}
217217

218218
$this->provideTestObjects(10);

0 commit comments

Comments
 (0)