mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
test: fix dredd test
This commit is contained in:
parent
07b908f1ef
commit
83b00afc09
@ -107,7 +107,7 @@ func addUserProjectRelation(pid int, user int) {
|
|||||||
_, err := store.CreateProjectUser(db.ProjectUser{
|
_, err := store.CreateProjectUser(db.ProjectUser{
|
||||||
ProjectID: pid,
|
ProjectID: pid,
|
||||||
UserID: user,
|
UserID: user,
|
||||||
Admin: true,
|
Role: db.ProjectOwner,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user