Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Mar 26, 2024
1 parent 92230a8 commit 0281f91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct ALibraryController : public ::testing::Test
void SetUp() override
{
EXPECT_CALL(bookServiceMock, getBooks())
.WillOnce(ReturnRef(bookVector));
.WillRepeatedly(ReturnRef(bookVector));

bookController =
std::make_unique<controllers::LibraryController>(&bookServiceMock);
Expand Down

0 comments on commit 0281f91

Please sign in to comment.