Skip to content

Commit eedbeeb

Browse files
author
Manny Jimenez
committed
Fixing tests
1 parent 998d9f7 commit eedbeeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-appdistribution/src/test/java/com/google/firebase/appdistribution/FirebaseAppDistributionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public void checkForNewRelease_testerIsNotSignedIn_taskFails() {
193193

194194
Task<AppDistributionRelease> task = firebaseAppDistribution.checkForNewRelease();
195195

196-
assertTaskFailure(task, AUTHENTICATION_FAILURE, AUTHENTICATION_ERROR);
196+
assertTaskFailure(task, AUTHENTICATION_FAILURE, "Tester is not signed in");
197197
}
198198

199199
@Test
@@ -227,7 +227,7 @@ public void updateApp_whenNotSignedIn_throwsError() {
227227

228228
UpdateTask updateTask = firebaseAppDistribution.updateApp();
229229

230-
assertTaskFailure(updateTask, AUTHENTICATION_FAILURE, AUTHENTICATION_ERROR);
230+
assertTaskFailure(updateTask, AUTHENTICATION_FAILURE, "Tester is not signed in");
231231
}
232232

233233
@Test

0 commit comments

Comments
 (0)