diff options
author | David Svantesson <david.svantesson@qrtech.se> | 2019-12-07 05:21:18 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-12-06 23:21:18 -0500 |
commit | 9cb418e623a137fb03f6540517e6e5f4ff6e92cc (patch) | |
tree | 6bd9af2a628961647f02e86a9564b5b3c2e81875 /models/fixtures/repo_unit.yml | |
parent | 82e0383d2104f454af5b3e0e768f0497113f3b13 (diff) | |
download | gitea-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/repo_unit.yml')
-rw-r--r-- | models/fixtures/repo_unit.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/models/fixtures/repo_unit.yml b/models/fixtures/repo_unit.yml index 28c606da43..f7522d3031 100644 --- a/models/fixtures/repo_unit.yml +++ b/models/fixtures/repo_unit.yml @@ -452,3 +452,24 @@ type: 1 config: "{}" created_unix: 946684810 + +- + id: 66 + repo_id: 46 + type: 7 + config: "{\"ExternalTrackerURL\":\"https://tracker.com\",\"ExternalTrackerFormat\":\"https://tracker.com/{user}/{repo}/issues/{index}\",\"ExternalTrackerStyle\":\"\"}" + created_unix: 946684810 + +- + id: 67 + repo_id: 47 + type: 7 + config: "{\"ExternalTrackerURL\":\"https://tracker.com\",\"ExternalTrackerFormat\":\"https://tracker.com/{user}/{repo}/issues/{index}\",\"ExternalTrackerStyle\":\"numeric\"}" + created_unix: 946684810 + +- + id: 68 + repo_id: 48 + type: 7 + config: "{\"ExternalTrackerURL\":\"https://tracker.com\",\"ExternalTrackerFormat\":\"https://tracker.com/{user}/{repo}/issues/{index}\",\"ExternalTrackerStyle\":\"alphanumeric\"}" + created_unix: 946684810
\ No newline at end of file |