Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update error text expectation
  • Loading branch information
tvolkert committed Jan 25, 2023
commit 2801767d43ed1b2b4374c79f73c3c7a3fe9b1822
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ public void signInSilentlyThatImmediatelyCompletesWithoutResultFinishesWithError
when(mockSignInTask.getResult(ApiException.class)).thenThrow(exception);

plugin.onMethodCall(new MethodCall("signInSilently", null), result);
verify(result).error("sign_in_required", "Error text", null);
verify(result)
.error("sign_in_required", CommonStatusCodes.SIGN_IN_REQUIRED + ": Error text", null);
}

@Test
Expand Down