diff options
Diffstat (limited to 'models/fixtures')
-rw-r--r-- | models/fixtures/comment.yml | 21 | ||||
-rw-r--r-- | models/fixtures/review.yml | 32 |
2 files changed, 53 insertions, 0 deletions
diff --git a/models/fixtures/comment.yml b/models/fixtures/comment.yml index 34df02d28c..6d4812f096 100644 --- a/models/fixtures/comment.yml +++ b/models/fixtures/comment.yml @@ -20,3 +20,24 @@ issue_id: 1 # in repo_id 1 content: "meh..." created_unix: 946684812 +- + id: 4 + type: 21 # code comment + poster_id: 1 + issue_id: 2 + content: "meh..." + review_id: 4 + line: 4 + tree_path: "README.md" + created_unix: 946684812 + invalidated: false +- + id: 5 + type: 21 # code comment + poster_id: 1 + issue_id: 2 + content: "meh..." + line: -4 + tree_path: "README.md" + created_unix: 946684812 + invalidated: false diff --git a/models/fixtures/review.yml b/models/fixtures/review.yml new file mode 100644 index 0000000000..17defd1b3a --- /dev/null +++ b/models/fixtures/review.yml @@ -0,0 +1,32 @@ +- + id: 1 + type: 1 + reviewer_id: 1 + issue_id: 2 + content: "Demo Review" + updated_unix: 946684810 + created_unix: 946684810 +- + id: 2 + type: 1 + reviewer_id: 534543 + issue_id: 534543 + content: "Invalid Review #1" + updated_unix: 946684810 + created_unix: 946684810 +- + id: 3 + type: 1 + reviewer_id: 1 + issue_id: 343545 + content: "Invalid Review #2" + updated_unix: 946684810 + created_unix: 946684810 +- + id: 4 + type: 0 # Pending review + reviewer_id: 1 + issue_id: 2 + content: "Pending Review" + updated_unix: 946684810 + created_unix: 946684810 |