mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-08 15:45:27 +01:00
Update test fixtures and related files for Actions API
This commit is contained in:
parent
2b0cd60356
commit
944b6761c3
@ -4,6 +4,18 @@
|
||||
user_id: 2
|
||||
mode: 2 # write
|
||||
|
||||
-
|
||||
id: 12
|
||||
repo_id: 2
|
||||
user_id: 4
|
||||
mode: 1 # read
|
||||
|
||||
-
|
||||
id: 13
|
||||
repo_id: 4
|
||||
user_id: 2
|
||||
mode: 1 # read
|
||||
|
||||
-
|
||||
id: 2
|
||||
repo_id: 4
|
||||
|
||||
@ -736,7 +736,14 @@
|
||||
|
||||
-
|
||||
id: 111
|
||||
repo_id: 3
|
||||
repo_id: 2
|
||||
type: 10
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
-
|
||||
id: 112
|
||||
repo_id: 4
|
||||
type: 10
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
@ -65,7 +65,7 @@ func TestRepository_IsCollaborator(t *testing.T) {
|
||||
}
|
||||
test(3, 2, true)
|
||||
test(3, unittest.NonexistentID, false)
|
||||
test(4, 2, false)
|
||||
test(4, 2, true)
|
||||
test(4, 4, true)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user