Skip to content

Commit 5116181

Browse files
committed
fix ci failures
1 parent 5b9efc1 commit 5116181

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

google/cloud/storage/internal/logging_stub_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ TEST_F(LoggingStubTest, ListBuckets) {
177177
};
178178
auto mock = std::make_unique<MockGenericStub>();
179179
EXPECT_CALL(*mock, ListBuckets)
180-
.WillOnce(Return(make_status_or(ListBucketsResponse{"a-token", items})));
180+
.WillOnce(
181+
Return(make_status_or(ListBucketsResponse{"a-token", items, {}})));
181182

182183
// We want to test that the key elements are logged, but do not want a
183184
// "change detection test", so this is intentionally not exhaustive.

google/cloud/storage/internal/rest/stub_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ TEST(RestStubTest, ListBucketsReturnPartialSuccess) {
242242
ResultOf(
243243
"request parameters contain 'returnPartialSuccess'",
244244
[](RestRequest const& r) { return r.parameters(); },
245-
Contains(Pair("returnPartialSuccess", "1")))))
245+
Contains(Pair("returnPartialSuccess", "true")))))
246246
.WillOnce(Return(PermanentError()));
247247

248248
auto tested = std::make_unique<RestStub>(Options{}, mock, mock);

0 commit comments

Comments
 (0)