forked from NYANDEV/forgejo
Fix inconsistencies in unit test fixtures
This commit is contained in:
parent
e388db311b
commit
438e1a7d46
3 changed files with 8 additions and 4 deletions
|
@ -8,6 +8,7 @@
|
||||||
content: content1
|
content: content1
|
||||||
is_closed: false
|
is_closed: false
|
||||||
is_pull: false
|
is_pull: false
|
||||||
|
num_comments: 1
|
||||||
created_unix: 946684800
|
created_unix: 946684800
|
||||||
updated_unix: 978307200
|
updated_unix: 978307200
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
type: 0 # gitea pull request
|
type: 0 # gitea pull request
|
||||||
status: 2 # mergable
|
status: 2 # mergable
|
||||||
issue_id: 2
|
issue_id: 2
|
||||||
index: 1
|
index: 2
|
||||||
head_repo_id: 1
|
head_repo_id: 1
|
||||||
base_repo_id: 1
|
base_repo_id: 1
|
||||||
head_user_name: user1
|
head_user_name: user1
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
type: 0 # gitea pull request
|
type: 0 # gitea pull request
|
||||||
status: 1 # checking
|
status: 1 # checking
|
||||||
issue_id: 3
|
issue_id: 3
|
||||||
index: 2
|
index: 3
|
||||||
head_repo_id: 1
|
head_repo_id: 1
|
||||||
base_repo_id: 1
|
base_repo_id: 1
|
||||||
head_user_name: user1
|
head_user_name: user1
|
||||||
|
|
|
@ -4,10 +4,11 @@
|
||||||
lower_name: repo1
|
lower_name: repo1
|
||||||
name: repo1
|
name: repo1
|
||||||
is_private: false
|
is_private: false
|
||||||
num_issues: 1
|
num_issues: 4
|
||||||
num_closed_issues: 0
|
num_closed_issues: 1
|
||||||
num_pulls: 2
|
num_pulls: 2
|
||||||
num_closed_pulls: 0
|
num_closed_pulls: 0
|
||||||
|
num_watches: 2
|
||||||
|
|
||||||
-
|
-
|
||||||
id: 2
|
id: 2
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
num_closed_issues: 1
|
num_closed_issues: 1
|
||||||
num_pulls: 0
|
num_pulls: 0
|
||||||
num_closed_pulls: 0
|
num_closed_pulls: 0
|
||||||
|
num_stars: 1
|
||||||
|
|
||||||
-
|
-
|
||||||
id: 3
|
id: 3
|
||||||
|
@ -41,6 +43,7 @@
|
||||||
num_closed_issues: 0
|
num_closed_issues: 0
|
||||||
num_pulls: 0
|
num_pulls: 0
|
||||||
num_closed_pulls: 0
|
num_closed_pulls: 0
|
||||||
|
num_stars: 1
|
||||||
|
|
||||||
-
|
-
|
||||||
id: 5
|
id: 5
|
||||||
|
|
Loading…
Reference in a new issue