test: fix dredd test

This commit is contained in:
Denis Gukov 2023-07-07 23:57:14 +02:00
parent 07b908f1ef
commit 83b00afc09

View File

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