Skip to content

Commit 3be1714

Browse files
MINOR: Fix unit test build
Relates-To: HERESDK-7942 Signed-off-by: Mykhailo Diachenko <ext-mykhailo.z.diachenko@here.com>
1 parent b05b560 commit 3be1714

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

olp-cpp-sdk-authentication/tests/AuthenticationClientTest.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ class AuthenticationClientImplTestable : public auth::AuthenticationClientImpl {
5151
(const client::OlpClient&, const std::string&,
5252
client::CancellationContext,
5353
const auth::AuthenticationCredentials&,
54-
client::OlpClient::RequestBodyType, std::time_t),
54+
client::OlpClient::RequestBodyType, std::time_t,
55+
const std::string&),
5556
(override));
5657
};
5758

@@ -168,7 +169,7 @@ TEST(AuthenticationClientTest, Timestamp) {
168169

169170
std::time_t time = 0;
170171

171-
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate))
172+
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate, _))
172173
.Times(3)
173174
.WillRepeatedly(testing::DoAll(testing::SaveArg<5>(&time),
174175
Wait(request_time),
@@ -186,7 +187,7 @@ TEST(AuthenticationClientTest, Timestamp) {
186187

187188
std::time_t time = 0;
188189

189-
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate))
190+
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate, _))
190191
.Times(3)
191192
.WillRepeatedly(testing::DoAll(testing::SaveArg<5>(&time),
192193
Wait(request_time),
@@ -204,7 +205,7 @@ TEST(AuthenticationClientTest, Timestamp) {
204205

205206
std::time_t time = 0;
206207

207-
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate))
208+
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate, _))
208209
.Times(3)
209210
.WillRepeatedly(testing::DoAll(testing::SaveArg<5>(&time),
210211
Wait(request_time),
@@ -222,7 +223,7 @@ TEST(AuthenticationClientTest, Timestamp) {
222223

223224
std::time_t time = 0;
224225

225-
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate))
226+
EXPECT_CALL(auth_impl, CallAuth(_, _, _, _, _, timestamp_predicate, _))
226227
.Times(3)
227228
.WillRepeatedly(testing::DoAll(testing::SaveArg<5>(&time),
228229
Wait(request_time),

0 commit comments

Comments
 (0)