aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures/repository.yml
diff options
context:
space:
mode:
authorDavid Svantesson <david.svantesson@qrtech.se>2019-12-07 05:21:18 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-12-06 23:21:18 -0500
commit9cb418e623a137fb03f6540517e6e5f4ff6e92cc (patch)
tree6bd9af2a628961647f02e86a9564b5b3c2e81875 /models/fixtures/repository.yml
parent82e0383d2104f454af5b3e0e768f0497113f3b13 (diff)
downloadgitea-9cb418e623a137fb03f6540517e6e5f4ff6e92cc.tar.gz
gitea-9cb418e623a137fb03f6540517e6e5f4ff6e92cc.zip
Redirect issue if repo has configured external tracker. (#9247)
* Redirect issue if repo has configured external tracker. * Handle error * Add tests for redirect * Fix test consistency
Diffstat (limited to 'models/fixtures/repository.yml')
-rw-r--r--models/fixtures/repository.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml
index 4cec6471e9..feec0b5faf 100644
--- a/models/fixtures/repository.yml
+++ b/models/fixtures/repository.yml
@@ -587,3 +587,40 @@
num_issues: 0
is_mirror: false
status: 0
+
+-
+ id: 46
+ owner_id: 26
+ lower_name: repo_external_tracker
+ name: repo_external_tracker
+ is_private: false
+ num_stars: 0
+ num_forks: 0
+ num_issues: 0
+ is_mirror: false
+ status: 0
+
+-
+ id: 47
+ owner_id: 26
+ lower_name: repo_external_tracker_numeric
+ name: repo_external_tracker_numeric
+ is_private: false
+ num_stars: 0
+ num_forks: 0
+ num_issues: 0
+ is_mirror: false
+ status: 0
+
+-
+ id: 48
+ owner_id: 26
+ lower_name: repo_external_tracker_alpha
+ name: repo_external_tracker_alpha
+ is_private: false
+ num_stars: 0
+ num_forks: 0
+ num_issues: 0
+ num_pulls: 1
+ is_mirror: false
+ status: 0