Skip to content

Commit

Permalink
chore: fix bucket update test
Browse files Browse the repository at this point in the history
  • Loading branch information
DStrand1 committed Oct 25, 2022
1 parent c9ed697 commit 09af20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/bucket/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestBucketsUpdate(t *testing.T) {
assert.Nil(t, body.Name) &&
assert.Nil(t, body.Description) &&
assert.Len(t, body.GetRetentionRules(), 1) &&
assert.Nil(t, body.GetRetentionRules()[0].EverySeconds) &&
assert.Zero(t, body.GetRetentionRules()[0].EverySeconds) &&
assert.Equal(t, int64(10*3600+30*60), *body.GetRetentionRules()[0].ShardGroupDurationSeconds)
})).Return(api.Bucket{
Id: api.PtrString("123"),
Expand Down

0 comments on commit 09af20d

Please sign in to comment.