Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions models/fixtures/access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@
user_id: 40
repo_id: 1
mode: 2

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/access_token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
created_unix: 946687980
updated_unix: 946687980
# commented out tokens so you can see what they are in plaintext

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@
is_private: false
created_unix: 1680454039
content: '4|' # issueId 5

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@
created_unix: 1730330775
updated_unix: 1730330775
expired_unix: 1738106775

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,5 @@
updated: 1683636626
need_approval: 0
approved_by: 0

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_run_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,5 @@
status: 3
started: 1683636528
stopped: 1683636626

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@
repo_id: 0
description: "This runner is going to be deleted"
agent_labels: '["runner_to_be_deleted","linux"]'

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_runner_token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@
is_active: 1
created: 1695617751
updated: 1695617751

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,5 @@
log_length: 707
log_size: 90179
log_expired: 0

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/action_task_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
task_id: 50
output_key: output_b
output_value: bbb

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/attachment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,5 @@
download_count: 0
size: 0
created_unix: 946684800

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
slug: badge1
description: just a test badge
image_url: badge1.png

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,5 @@
is_deleted: false
deleted_by_id: 0
deleted_unix: 0

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/collaboration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@
repo_id: 32
user_id: 10
mode: 2 # write

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@
review_id: 22
assignee_id: 5
created_unix: 946684817

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/commit_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@
context: deploy/awesomeness
context_hash: ae9547713a6665fc4261d0756904932085a41cf2
creator_id: 2

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/commit_status_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
repo_id: 1
sha: "1234123412341234123412341234123412341234"
max_index: 5

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/deploy_key.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/email_address.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,5 @@
lower_email: user40@example.com
is_activated: true
is_primary: true

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/external_login_user.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/follow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
id: 4
user_id: 31
follow_id: 33

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/gpg_key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
can_encrypt_comms: true
can_encrypt_storage: true
can_certify: true

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/gpg_key_import.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/hook_task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
"X-Head": "42"
}
}

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,3 +372,5 @@
created_unix: 1707270422
updated_unix: 1707270422
is_locked: false

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue_assignees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
id: 5
assignee_id: 10
issue_id: 6

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@
-
group_id: 51
max_index: 1

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
id: 4
issue_id: 2
label_id: 4

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue_pin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
issue_id: 4
is_pull: false
pin_order: 1

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
issue_id: 1
is_read: false
is_mentioned: true

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/issue_watch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@
is_watching: false
created_unix: 946684800
updated_unix: 946684800

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@
num_issues: 0
num_closed_issues: 0
archived_unix: 0

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/lfs_meta_object.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@
size: 25
repository_id: 54
created_unix: 1671607299

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/login_source.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@
num_closed_issues: 0
completeness: 0
deadline_unix: 253370764800

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@
next_update_unix: 0
lfs_enabled: false
lfs_endpoint: ""

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/notice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
id: 3
type: 1 # NoticeRepository
description: description3

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@
issue_id: 4
created_unix: 946688800
updated_unix: 946688820

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/oauth2_application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
created_unix: 1546869730
updated_unix: 1546869730
confidential_client: false

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/oauth2_authorization_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
code_challenge_method: "S256"
redirect_uri: "http://127.0.0.1/"
valid_until: 3546869730

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/oauth2_grant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@
scope: "whatever"
created_unix: 1546869730
updated_unix: 1546869730

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/org_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,5 @@
uid: 20
org_id: 17
is_public: false

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@
type: 2
created_unix: 1688973000
updated_unix: 1688973000

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/project_board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@
default: true
created_unix: 1588117528
updated_unix: 1588117528

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/project_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
issue_id: 5
project_id: 1
project_board_id: 3

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/protected_branch.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/protected_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@
allowlist_team_i_ds: "[]"
created_unix: 1715596037
updated_unix: 1715596037

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/public_key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
updated_unix: 1565224552
login_source_id: 0
verified: false

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,5 @@
index: 1
head_repo_id: 61
base_repo_id: 61

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/reaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@
comment_id: 2
user_id: 1
created_unix: 1573248005

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,5 @@
is_prerelease: false
is_tag: false
created_unix: 946684803

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/renamed_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
repo_id: 1
from: dev
to: master

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_archiver.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_indexer_status.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_license.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[] # empty

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
owner_id: 2
lower_name: oldrepo1
redirect_repo_id: 1

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_topic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@
-
repo_id: 2
topic_id: 6

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@
repo_id: 5
created_unix: 1553610671
updated_unix: 1553610671

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repo_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -747,3 +747,5 @@
type: 10
config: "{}"
created_unix: 946684810

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1788,3 +1788,5 @@
size: 0
is_fsck_enabled: true
close_issues_via_commit_in_any_branch: false

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,5 @@
original_author_id: 0
updated_unix: 946684817
created_unix: 946684817

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/star.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
id: 4
uid: 10
repo_id: 32

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/stopwatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
user_id: 2
issue_id: 2
created_unix: 1500988002

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/system_setting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
version: 1
created: 1653533198
updated: 1653533198

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/team.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,5 @@
num_members: 1
includes_all_repositories: true
can_create_org_repo: false

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/team_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@
org_id: 41
team_id: 22
repo_id: 61

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/team_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,5 @@
team_id: 24
type: 1 # code
access_mode: 2

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/team_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,5 @@
org_id: 35
team_id: 24
uid: 2

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
2 changes: 2 additions & 0 deletions models/fixtures/topic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
id: 6
name: topicname2
repo_count: 2

# DO NOT add more test data in the fixtures, test case should prepare their own test data separately and clearly
Loading
Loading