summaryrefslogtreecommitdiffstats
path: root/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-10-18 20:33:49 +0200
committerDaniel Baumann <daniel@debian.org>2024-10-18 20:33:49 +0200
commitdd136858f1ea40ad3c94191d647487fa4f31926c (patch)
tree58fec94a7b2a12510c9664b21793f1ed560c6518 /models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax
parentInitial commit. (diff)
downloadforgejo-dd136858f1ea40ad3c94191d647487fa4f31926c.tar.xz
forgejo-dd136858f1ea40ad3c94191d647487fa4f31926c.zip
Adding upstream version 9.0.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax')
-rw-r--r--models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/issue.yml12
-rw-r--r--models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/pull_request.yml13
2 files changed, 25 insertions, 0 deletions
diff --git a/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/issue.yml b/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/issue.yml
new file mode 100644
index 0000000..7fe592e
--- /dev/null
+++ b/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/issue.yml
@@ -0,0 +1,12 @@
+-
+ id: 1001
+ repo_id: 1
+ index: 1001
+ poster_id: 1
+ name: issue1
+ content: content for the first issue
+ is_pull: true
+ created: 111111111
+ created_unix: 946684800
+ updated_unix: 978307200
+ is_closed: false
diff --git a/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/pull_request.yml b/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/pull_request.yml
new file mode 100644
index 0000000..7e7c0d1
--- /dev/null
+++ b/models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/pull_request.yml
@@ -0,0 +1,13 @@
+-
+ id: 1001
+ type: 0 # pull request
+ status: 2 # mergeable
+ issue_id: 1001
+ index: 1001
+ head_repo_id: 1
+ base_repo_id: 1
+ head_branch: branchmax
+ base_branch: master
+ merge_base: 4a357436d925b5c974181ff12a994538ddc5a269
+ has_merged: false
+ flow: 0