Skip to content

Commit

Permalink
Merge pull request #7481 from /issues/13252
Browse files Browse the repository at this point in the history
Improve Brave Ads unit tests to catch issues such as brave/brave-browser#13215
  • Loading branch information
tmancey authored Dec 19, 2020
2 parents b28ceb0 + d021b11 commit 03abed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/bat-native-ads/src/bat/ads/internal/unittest_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ void MockDefaultPrefs(
const std::unique_ptr<AdsClientMock>& mock) {
mock->SetBooleanPref(prefs::kEnabled, true);

mock->SetUint64Pref(prefs::kAdsPerHour, 2);
mock->SetUint64Pref(prefs::kAdsPerDay, 40);
mock->SetUint64Pref(prefs::kAdsPerHour, 0);
mock->SetUint64Pref(prefs::kAdsPerDay, 0);

mock->SetIntegerPref(prefs::kIdleThreshold, 15);

Expand Down

0 comments on commit 03abed2

Please sign in to comment.