summaryrefslogtreecommitdiffstats
path: root/models/fixtures/pull_request.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/pull_request.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/pull_request.yml')
-rw-r--r--models/fixtures/pull_request.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/models/fixtures/pull_request.yml b/models/fixtures/pull_request.yml
index 505584ea18..e8d81a0007 100644
--- a/models/fixtures/pull_request.yml
+++ b/models/fixtures/pull_request.yml
@@ -36,4 +36,17 @@
head_branch: branch2
base_branch: master
merge_base: 0abcb056019adb83
+ has_merged: false
+
+-
+ id: 4
+ type: 0 # gitea pull request
+ status: 2 # mergable
+ issue_id: 9
+ index: 1
+ head_repo_id: 48
+ base_repo_id: 48
+ head_branch: branch1
+ base_branch: master
+ merge_base: abcdef1234567890
has_merged: false \ No newline at end of file