Skip to content

Commit

Permalink
fix mock ref
Browse files Browse the repository at this point in the history
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
  • Loading branch information
turuslan committed Jul 4, 2024
1 parent ad9cf10 commit 26195a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/injector/application_injector_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ namespace {
.WillRepeatedly(testing::Return(100));
EXPECT_CALL(config_mock, log()).WillRepeatedly([] {
static std::vector<std::string> log;
return log;
return std::cref(log);
});
}
} // namespace
Expand Down

0 comments on commit 26195a5

Please sign in to comment.