test: fix expected RP in existing test.
parent
64ef556c2b
commit
d3dd440c5f
|
@ -182,4 +182,4 @@ func TestOnboardService_RetentionPolicy(t *testing.T) {
|
|||
}
|
||||
|
||||
assert.Equal(t, onboard.Bucket.RetentionPeriod, retention, "Retention policy should pass through")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -158,7 +158,7 @@ func OnboardInitialUser(
|
|||
Org: "org1",
|
||||
Bucket: "bucket1",
|
||||
Password: "password1",
|
||||
RetentionPeriod: 24 * 7, // 1 week
|
||||
RetentionPeriod: time.Hour * 24 * 7, // 1 week
|
||||
},
|
||||
},
|
||||
wants: wants{
|
||||
|
|
Loading…
Reference in New Issue