@@ -104,7 +104,7 @@ TEST_F(ApiLookupClientImplTest, LookupApi) {
104104 SCOPED_TRACE (" Fetch from cache [CacheOnly] negative" );
105105 EXPECT_CALL (*cache_, Get (cache_key, _))
106106 .Times (1 )
107- .WillOnce (Return (boost ::any ()));
107+ .WillOnce (Return (olp::porting ::any ()));
108108
109109 client::CancellationContext context;
110110 client::ApiLookupClientImpl client (catalog_hrn, settings_);
@@ -154,7 +154,7 @@ TEST_F(ApiLookupClientImplTest, LookupApi) {
154154 .WillRepeatedly (Return (true ));
155155 EXPECT_CALL (*cache_, Get (cache_key, _))
156156 .Times (1 )
157- .WillOnce (Return (boost ::any ()));
157+ .WillOnce (Return (olp::porting ::any ()));
158158
159159 client::CancellationContext context;
160160 client::ApiLookupClientImpl client (catalog_hrn, settings_);
@@ -183,7 +183,7 @@ TEST_F(ApiLookupClientImplTest, LookupApi) {
183183 EXPECT_CALL (*cache_, Put (_, _, _, expiry))
184184 .Times (3 )
185185 .WillRepeatedly (Return (true ));
186- EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (boost ::any ()));
186+ EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (olp::porting ::any ()));
187187
188188 client::CancellationContext context;
189189 client::ApiLookupClientImpl client (catalog_hrn, settings_);
@@ -368,7 +368,7 @@ TEST_F(ApiLookupClientImplTest, LookupApi) {
368368 olp::http::HttpStatusCode::OK),
369369 kResponseLookupResource ));
370370
371- EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (boost ::any ()));
371+ EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (olp::porting ::any ()));
372372
373373 // Response contains three services that are cached independently.
374374 EXPECT_CALL (*cache_, Put (_, _, _, _)).Times (3 );
@@ -569,7 +569,7 @@ TEST_F(ApiLookupClientImplTest, LookupApiAsync) {
569569 SCOPED_TRACE (" Fetch from cache [CacheOnly] negative" );
570570 EXPECT_CALL (*cache_, Get (cache_key, _))
571571 .Times (1 )
572- .WillOnce (Return (boost ::any ()));
572+ .WillOnce (Return (olp::porting ::any ()));
573573
574574 std::promise<client::ApiLookupClient::LookupApiResponse> promise;
575575 auto future = promise.get_future ();
@@ -631,7 +631,7 @@ TEST_F(ApiLookupClientImplTest, LookupApiAsync) {
631631 .WillRepeatedly (Return (true ));
632632 EXPECT_CALL (*cache_, Get (cache_key, _))
633633 .Times (1 )
634- .WillOnce (Return (boost ::any ()));
634+ .WillOnce (Return (olp::porting ::any ()));
635635
636636 std::promise<client::ApiLookupClient::LookupApiResponse> promise;
637637 auto future = promise.get_future ();
@@ -665,7 +665,7 @@ TEST_F(ApiLookupClientImplTest, LookupApiAsync) {
665665 EXPECT_CALL (*cache_, Put (_, _, _, expiry))
666666 .Times (3 )
667667 .WillRepeatedly (Return (true ));
668- EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (boost ::any ()));
668+ EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (olp::porting ::any ()));
669669
670670 std::promise<client::ApiLookupClient::LookupApiResponse> promise;
671671 auto future = promise.get_future ();
@@ -803,7 +803,7 @@ TEST_F(ApiLookupClientImplTest, LookupApiAsync) {
803803 olp::http::HttpStatusCode::OK),
804804 kResponseLookupResource ));
805805
806- EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (boost ::any ()));
806+ EXPECT_CALL (*cache_, Get (_, _)).Times (1 ).WillOnce (Return (olp::porting ::any ()));
807807
808808 // Response contains three services that are cached independently.
809809 EXPECT_CALL (*cache_, Put (_, _, _, _)).Times (3 );
0 commit comments