Skip to content

Commit

Permalink
Merge pull request #1089 from brave/failing-tests
Browse files Browse the repository at this point in the history
Fixes failing tests
  • Loading branch information
NejcZdovc authored Dec 13, 2018
2 parents 38ba23c + 95b797c commit bfa3c54
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ TEST_F(RewardsServiceTest, HandleFlags) {
}

TEST_F(RewardsServiceTest, OnWalletProperties) {
// wallet properties are empty (no call should be made)
EXPECT_CALL(*observer(), OnWalletProperties(_, _, _)).Times(0);
rewards_service()->OnWalletProperties(ledger::Result::LEDGER_OK, nullptr);
// We always need to call observer as we report errors back even when we have null pointer
EXPECT_CALL(*observer(), OnWalletProperties(_, 1, _)).Times(1);
rewards_service()->OnWalletProperties(ledger::Result::LEDGER_ERROR, nullptr);
}

// add test for strange entries

0 comments on commit bfa3c54

Please sign in to comment.