Skip to content

Commit

Permalink
Fix browser test
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed May 10, 2020
1 parent bfc3a42 commit c8e342a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,11 @@ class BraveRewardsBrowserTest
"{\"donationAmounts\": [5,10,20]}]"
"]";
}

// we only have one page in this mock, so next page should return end
if (url.find("page=2") != std::string::npos) {
*response_status_code = net::HTTP_NO_CONTENT;
}
} else if (base::StartsWith(
url,
braveledger_uphold::GetAPIUrl("/oauth2/token"),
Expand Down

0 comments on commit c8e342a

Please sign in to comment.