Skip to content

Commit

Permalink
Fix unit test build errors #53 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey authored Jan 28, 2019
1 parent 7b110ff commit 722becf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/confirmations_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ const base::FilePath::CharType kTestDataRelativePath[] =
class ConfirmationsTest : public ::testing::Test {
protected:
confirmations::MockConfirmationsClient *mock_confirmations_client;
ConfirmationsImpl* confirmations;
confirmations::ConfirmationsImpl* confirmations;

ConfirmationsTest() :
mock_confirmations_client(new confirmations::MockConfirmationsClient()),
confirmations(new ConfirmationsImpl(mock_confirmations_client)) {
confirmations(new confirmations::ConfirmationsImpl(
mock_confirmations_client)) {
// You can do set-up work for each test here
}

Expand All @@ -42,7 +43,6 @@ class ConfirmationsTest : public ::testing::Test {
void SetUp() override {
// Code here will be called immediately after the constructor (right before
// each test)
confirmations->Initialize();
}

void TearDown() override {
Expand Down

0 comments on commit 722becf

Please sign in to comment.