From 83b00afc09b36be7dab1ccd37d02f3246ec3b802 Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Fri, 7 Jul 2023 23:57:14 +0200 Subject: [PATCH] test: fix dredd test --- .dredd/hooks/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dredd/hooks/helpers.go b/.dredd/hooks/helpers.go index 3207d142..43708b17 100644 --- a/.dredd/hooks/helpers.go +++ b/.dredd/hooks/helpers.go @@ -107,7 +107,7 @@ func addUserProjectRelation(pid int, user int) { _, err := store.CreateProjectUser(db.ProjectUser{ ProjectID: pid, UserID: user, - Admin: true, + Role: db.ProjectOwner, }) if err != nil { panic(err)