aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures/attachment.yml
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-10-17 18:23:27 +0200
committerGitHub <noreply@github.com>2022-10-18 00:23:27 +0800
commita577214760c8f495f315fc569f476d2e72f22ebb (patch)
tree9553f3cb31e8b260ff6781821cfdce3ea192407f /models/fixtures/attachment.yml
parent18622a07054e853731e1af96253d1387451b51e2 (diff)
downloadgitea-a577214760c8f495f315fc569f476d2e72f22ebb.tar.gz
gitea-a577214760c8f495f315fc569f476d2e72f22ebb.zip
Add some api integration tests (#18872)
depends on #18871 Added some api integration tests to help testing of #18798. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models/fixtures/attachment.yml')
-rw-r--r--models/fixtures/attachment.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/models/fixtures/attachment.yml b/models/fixtures/attachment.yml
index 8612f6ece7..9ad43fa2b7 100644
--- a/models/fixtures/attachment.yml
+++ b/models/fixtures/attachment.yml
@@ -3,9 +3,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11
repo_id: 1
issue_id: 1
+ release_id: 0
+ uploader_id: 0
comment_id: 0
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
@@ -13,9 +16,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12
repo_id: 2
issue_id: 4
+ release_id: 0
+ uploader_id: 0
comment_id: 0
name: attach2
download_count: 1
+ size: 0
created_unix: 946684800
-
@@ -23,9 +29,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13
repo_id: 1
issue_id: 2
+ release_id: 0
+ uploader_id: 0
comment_id: 1
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
@@ -33,9 +42,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14
repo_id: 1
issue_id: 3
+ release_id: 0
+ uploader_id: 0
comment_id: 1
name: attach2
download_count: 1
+ size: 0
created_unix: 946684800
-
@@ -43,9 +55,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15
repo_id: 2
issue_id: 4
+ release_id: 0
+ uploader_id: 0
comment_id: 0
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
@@ -53,9 +68,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16
repo_id: 1
issue_id: 5
+ release_id: 0
+ uploader_id: 0
comment_id: 2
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
@@ -63,9 +81,12 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17
repo_id: 1
issue_id: 5
+ release_id: 0
+ uploader_id: 0
comment_id: 2
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
@@ -73,34 +94,49 @@
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18
repo_id: 3
issue_id: 6
+ release_id: 0
+ uploader_id: 0
comment_id: 0
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
id: 9
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a19
repo_id: 1
+ issue_id: 0
release_id: 1
+ uploader_id: 0
+ comment_id: 0
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
id: 10
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a20
repo_id: 0 # TestGetAttachment/NotLinked
+ issue_id: 0
+ release_id: 0
uploader_id: 8
+ comment_id: 0
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800
-
id: 11
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a21
repo_id: 40
+ issue_id: 0
release_id: 2
+ uploader_id: 0
+ comment_id: 0
name: attach1
download_count: 0
+ size: 0
created_unix: 946684800