mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 06:15:55 +01:00
c492e86312
Fix https://drone.gitea.io/go-gitea/gitea/69418/3/8 Migration fixtures are in `models/migrations/fixtures`, every folder will be used only by the test with the same name. For `Test_DeleteOrphanedIssueLabels`, the fixture should keep consistent as the database structure at that time. So the newly added `exclusive` is not right. Just revert the change in https://github.com/go-gitea/gitea/pull/22585/files#diff-f8db9cbbaa10bf7b27eb726884454db821a4b4f8cb9a0d50435555908761bbcb
44 lines
560 B
YAML
44 lines
560 B
YAML
-
|
|
id: 1
|
|
repo_id: 1
|
|
org_id: 0
|
|
name: label1
|
|
color: '#abcdef'
|
|
num_issues: 2
|
|
num_closed_issues: 0
|
|
|
|
-
|
|
id: 2
|
|
repo_id: 1
|
|
org_id: 0
|
|
name: label2
|
|
color: '#000000'
|
|
num_issues: 1
|
|
num_closed_issues: 1
|
|
-
|
|
id: 3
|
|
repo_id: 0
|
|
org_id: 3
|
|
name: orglabel3
|
|
color: '#abcdef'
|
|
num_issues: 0
|
|
num_closed_issues: 0
|
|
|
|
-
|
|
id: 4
|
|
repo_id: 0
|
|
org_id: 3
|
|
name: orglabel4
|
|
color: '#000000'
|
|
num_issues: 1
|
|
num_closed_issues: 0
|
|
|
|
-
|
|
id: 5
|
|
repo_id: 10
|
|
org_id: 0
|
|
name: pull-test-label
|
|
color: '#000000'
|
|
num_issues: 0
|
|
num_closed_issues: 0
|