summaryrefslogtreecommitdiffstats
path: root/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-11-23 10:24:55 +0000
committerGitHub <noreply@github.com>2022-11-23 18:24:55 +0800
commit4c00d8f916f4a347d04001418b766f1849214181 (patch)
tree2927f364d5d3763d43086d5ed0d70fe6d92d7614 /models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml
parent13746f070ddb4b7ba93249e9335352431073c271 (diff)
downloadgitea-4c00d8f916f4a347d04001418b766f1849214181.tar.gz
gitea-4c00d8f916f4a347d04001418b766f1849214181.zip
Move migration test fixtures to the correct directories (#21901)
Unfortunately #21549 changed the name of Testcases without changing their associated fixture directories. Fix #21854 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml')
-rw-r--r--models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml b/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml
new file mode 100644
index 0000000000..d651c87d5b
--- /dev/null
+++ b/models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml
@@ -0,0 +1,43 @@
+-
+ 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