Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrm committed Apr 27, 2022
1 parent 199aeb7 commit 4ed0f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/authorship/block_builder_factory_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class BlockBuilderFactoryTest : public ::testing::Test {
expected_header_.number = expected_number_;
expected_header_.digest = inherent_digests_;

EXPECT_CALL(*header_backend_, getNumberByHash(parent_hash_))
.WillOnce(Return(parent_number_));
ON_CALL(*header_backend_, getNumberByHash(parent_hash_))
.WillByDefault(Return(parent_number_));
}

std::shared_ptr<CoreMock> core_ = std::make_shared<CoreMock>();
Expand Down

0 comments on commit 4ed0f9f

Please sign in to comment.