aboutsummaryrefslogtreecommitdiff
path: root/userapi/userapi_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/userapi_test.go')
-rw-r--r--userapi/userapi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/userapi_test.go b/userapi/userapi_test.go
index 9a45a2dc..0141258e 100644
--- a/userapi/userapi_test.go
+++ b/userapi/userapi_test.go
@@ -26,7 +26,7 @@ const (
func MustMakeInternalAPI(t *testing.T) (api.UserInternalAPI, accounts.Database) {
accountDB, err := accounts.NewDatabase(&config.DatabaseOptions{
ConnectionString: "file::memory:",
- }, serverName, bcrypt.MinCost)
+ }, serverName, bcrypt.MinCost, config.DefaultOpenIDTokenLifetimeMS)
if err != nil {
t.Fatalf("failed to create account DB: %s", err)
}