Skip to content

Commit 0727a65

Browse files
committed
genereated new fixtures
Signed-off-by: a1012112796 <1012112796@qq.com>
1 parent 4a8045e commit 0727a65

File tree

215 files changed

+2857
-685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+2857
-685
lines changed

models/fixtures/access_token.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22
id: 1
33
uid: 1
44
name: Token A
5-
#token: d2c6c1ba3890b309189a8e618c72a162e4efbf36
65
token_hash: 2b3668e11cb82d3af8c6e4524fc7841297668f5008d1626f0ad3417e9fa39af84c268248b78c481daa7e5dc437784003494f
76
token_salt: QuSiZr1byZ
87
token_last_eight: e4efbf36
8+
scope: ''
99
created_unix: 946687980
1010
updated_unix: 946687980
1111

1212
-
1313
id: 2
1414
uid: 1
1515
name: Token B
16-
#token: 4c6f36e6cf498e2a448662f915d932c09c5a146c
1716
token_hash: 1a0e32a231ebbd582dc626c1543a42d3c63d4fa76c07c72862721467c55e8f81c923d60700f0528b5f5f443f055559d3a279
1817
token_salt: Lfwopukrq5
1918
token_last_eight: 9c5a146c
19+
scope: ''
2020
created_unix: 946687980
2121
updated_unix: 946687980
2222

2323
-
2424
id: 3
2525
uid: 2
2626
name: Token A
27-
#token: 90a18faa671dc43924b795806ffe4fd169d28c91
2827
token_hash: d6d404048048812d9e911d93aefbe94fc768d4876fdf75e3bef0bdc67828e0af422846d3056f2f25ec35c51dc92075685ec5
2928
token_salt: 99ArgXKlQQ
3029
token_last_eight: 69d28c91
30+
scope: ''
3131
created_unix: 946687980
3232
updated_unix: 946687980
33-
#commented out tokens so you can see what they are in plaintext
33+

models/fixtures/action.yml

Lines changed: 59 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,108 @@
11
-
22
id: 1
33
user_id: 2
4-
op_type: 12 # close issue
4+
op_type: 12
55
act_user_id: 2
6-
repo_id: 2 # private
6+
repo_id: 2
7+
comment_id: 0
8+
is_deleted: false
79
is_private: true
10+
content: ''
811
created_unix: 1603228283
912

1013
-
1114
id: 2
1215
user_id: 3
13-
op_type: 2 # rename repo
16+
op_type: 2
1417
act_user_id: 2
15-
repo_id: 3 # private
18+
repo_id: 3
19+
comment_id: 0
20+
is_deleted: false
1621
is_private: true
17-
content: oldRepoName
22+
content: 'oldRepoName'
23+
created_unix: 0
1824

1925
-
2026
id: 3
2127
user_id: 11
22-
op_type: 1 # create repo
28+
op_type: 1
2329
act_user_id: 11
24-
repo_id: 9 # public
30+
repo_id: 9
31+
comment_id: 0
32+
is_deleted: false
2533
is_private: false
34+
content: ''
35+
created_unix: 0
2636

2737
-
2838
id: 4
2939
user_id: 16
30-
op_type: 12 # close issue
40+
op_type: 12
3141
act_user_id: 16
32-
repo_id: 22 # private
42+
repo_id: 22
43+
comment_id: 0
44+
is_deleted: false
3345
is_private: true
46+
content: ''
3447
created_unix: 1603267920
3548

36-
- id: 5
49+
-
50+
id: 5
3751
user_id: 10
38-
op_type: 1 # create repo
52+
op_type: 1
3953
act_user_id: 10
40-
repo_id: 6 # private
54+
repo_id: 6
55+
comment_id: 0
56+
is_deleted: false
4157
is_private: true
58+
content: ''
4259
created_unix: 1603010100
4360

44-
- id: 6
61+
-
62+
id: 6
4563
user_id: 10
46-
op_type: 1 # create repo
64+
op_type: 1
4765
act_user_id: 10
48-
repo_id: 7 # private
66+
repo_id: 7
67+
comment_id: 0
68+
is_deleted: false
4969
is_private: true
70+
content: ''
5071
created_unix: 1603011300
5172

52-
- id: 7
73+
-
74+
id: 7
5375
user_id: 10
54-
op_type: 1 # create repo
76+
op_type: 1
5577
act_user_id: 10
56-
repo_id: 8 # public
78+
repo_id: 8
79+
comment_id: 0
80+
is_deleted: false
5781
is_private: false
58-
created_unix: 1603011540 # grouped with id:7
82+
content: ''
83+
created_unix: 1603011540
5984

60-
- id: 8
85+
-
86+
id: 8
6187
user_id: 1
62-
op_type: 12 # close issue
88+
op_type: 12
6389
act_user_id: 1
64-
repo_id: 1700 # dangling intentional
90+
repo_id: 1700
91+
comment_id: 0
92+
is_deleted: false
6593
is_private: false
94+
content: ''
6695
created_unix: 1603011541
6796

68-
- id: 9
97+
-
98+
id: 9
6999
user_id: 34
70-
op_type: 12 # close issue
100+
op_type: 12
71101
act_user_id: 34
72-
repo_id: 1 # public
102+
repo_id: 1
103+
comment_id: 0
104+
is_deleted: false
73105
is_private: false
106+
content: '4|'
74107
created_unix: 1680454039
75-
content: '4|' # issueId 5
108+

models/fixtures/action_run.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
-
22
id: 791
3-
title: "update actions"
3+
title: update actions
44
repo_id: 4
55
owner_id: 1
6-
workflow_id: "artifact.yaml"
6+
workflow_id: artifact.yaml
77
index: 187
88
trigger_user_id: 1
9-
ref: "refs/heads/master"
10-
commit_sha: "c2d72f548424103f01ee1dc02889c1e2bff816b0"
11-
event: "push"
12-
is_fork_pull_request: 0
9+
ref: refs/heads/master
10+
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0
11+
is_fork_pull_request: false
12+
need_approval: false
13+
approved_by: 0
14+
event: push
1315
status: 1
16+
version: 0
1417
started: 1683636528
1518
stopped: 1683636626
1619
created: 1683636108
1720
updated: 1683636626
18-
need_approval: 0
19-
approved_by: 0
21+

models/fixtures/action_run_job.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
repo_id: 4
55
owner_id: 1
66
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0
7-
is_fork_pull_request: 0
7+
is_fork_pull_request: false
88
name: job_2
99
attempt: 1
1010
job_id: job_2
1111
task_id: 47
1212
status: 1
1313
started: 1683636528
1414
stopped: 1683636626
15+
created: 0
16+
updated: 0
17+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-
2+
id: 1
3+
token: jwgxZCIsaNceopvdNarcudaLiJykDvzLH65BdcRb
4+
owner_id: 0
5+
repo_id: 0
6+
is_active: false
7+
created: 1692689274
8+
updated: 1692689274
9+
deleted: 0
10+

models/fixtures/action_task.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,21 @@
33
job_id: 192
44
attempt: 3
55
runner_id: 1
6-
status: 6 # 6 is the status code for "running", running task can upload artifacts
6+
status: 6
77
started: 1683636528
88
stopped: 1683636626
99
repo_id: 4
1010
owner_id: 1
1111
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0
12-
is_fork_pull_request: 0
12+
is_fork_pull_request: false
1313
token_hash: 6d8ef48297195edcc8e22c70b3020eaa06c52976db67d39b4260c64a69a2cc1508825121b7b8394e48e00b1bf8718b2a867e
1414
token_salt: jVuKnSPGgy
1515
token_last_eight: eeb1a71a
1616
log_filename: artifact-test2/2f/47.log
17-
log_in_storage: 1
17+
log_in_storage: true
1818
log_length: 707
1919
log_size: 90179
20-
log_expired: 0
20+
log_expired: false
21+
created: 0
22+
updated: 0
23+

models/fixtures/attachment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
-
119119
id: 10
120120
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a20
121-
repo_id: 0 # TestGetAttachment/NotLinked
121+
repo_id: 0
122122
issue_id: 0
123123
release_id: 0
124124
uploader_id: 8
@@ -140,3 +140,4 @@
140140
download_count: 0
141141
size: 0
142142
created_unix: 946684800
143+

0 commit comments

Comments
 (0)