test: fix expected RP in existing test.

pull/19894/head
Dan Moran 2020-11-03 09:47:36 -05:00 committed by Daniel Moran
parent 64ef556c2b
commit d3dd440c5f
2 changed files with 2 additions and 2 deletions

View File

@ -182,4 +182,4 @@ func TestOnboardService_RetentionPolicy(t *testing.T) {
}
assert.Equal(t, onboard.Bucket.RetentionPeriod, retention, "Retention policy should pass through")
}
}

View File

@ -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{