Skip to content

Commit

Permalink
Update BranchTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
gdeluna-branch committed Oct 14, 2023
1 parent cccf7d5 commit 7f50ed2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void onInitFinished(@Nullable JSONObject referringParams, @Nullable Branc
BranchLogger.v(TAG + " onInitFinished, referringParams: " + referringParams + ", error: " + error + " on thread " + Thread.currentThread().getName());
Assert.assertNotNull(referringParams);
if (error != null) {
BranchLogger.v("error is " + error);
BranchLogger.v("error is " + error + " " + error.getErrorCode());
if (error.getErrorCode() != BranchError.ERR_BRANCH_REQ_TIMED_OUT
&& error.getErrorCode() != BranchError.ERR_BRANCH_NO_CONNECTIVITY) {
Assert.fail("error should be null unless we are testing timeouts " + error.errorCode_ + error.getMessage());
Expand Down

0 comments on commit 7f50ed2

Please sign in to comment.