X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7f598ab412674ce5a78da98c54aa2fe2e4a05792..16f5a5ac0c674b258996fcbde1c3fda2e651906a:/test/fixtures/note_comments.yml diff --git a/test/fixtures/note_comments.yml b/test/fixtures/note_comments.yml index 881adb6ac..c4b998cad 100644 --- a/test/fixtures/note_comments.yml +++ b/test/fixtures/note_comments.yml @@ -2,6 +2,7 @@ t1: id: 1 note_id: 1 visible: true + event: opened created_at: 2007-01-01 00:00:00 author_ip: '192.168.1.1' body: 'This is the initial description of the note 1' @@ -10,6 +11,7 @@ t2: id: 2 note_id: 2 visible: true + event: opened created_at: 2007-01-01 00:00:00 author_ip: '192.168.1.1' body: 'This is the initial description of the note 2' @@ -18,6 +20,7 @@ t3: id: 3 note_id: 2 visible: true + event: opened created_at: 2007-02-01 00:00:00 author_ip: '192.168.1.1' body: 'This is an additional comment for note 2' @@ -26,6 +29,7 @@ t4: id: 4 note_id: 3 visible: true + event: opened created_at: 2007-01-01 00:00:00 author_ip: '192.168.1.1' body: 'This is the initial comment for note 3' @@ -34,6 +38,7 @@ t5: id: 5 note_id: 4 visible: true + event: opened created_at: 2007-01-01 00:00:00 author_ip: '192.168.1.1' body: 'Spam for note 4' @@ -42,6 +47,7 @@ t6: id: 6 note_id: 5 visible: true + event: opened created_at: 2007-01-01 00:00:00 author_ip: '192.168.1.1' body: 'Valid comment for note 5' @@ -50,6 +56,7 @@ t7: id: 7 note_id: 5 visible: false + event: commented created_at: 2007-02-01 00:00:00 author_ip: '192.168.1.1' body: 'Spam for note 5' @@ -58,6 +65,7 @@ t8: id: 8 note_id: 5 visible: true + event: commented created_at: 2007-02-01 00:00:00 author_ip: '192.168.1.1' body: 'Another valid comment for note 5' @@ -66,8 +74,8 @@ t9: id: 9 note_id: 6 visible: true - created_at: 2007-01-01 00:00:00 event: opened + created_at: 2007-01-01 00:00:00 author_id: 1 body: 'This is a note with from a logged-in user' @@ -75,8 +83,8 @@ t10: id: 10 note_id: 6 visible: true - created_at: 2007-02-01 00:00:00 event: commented + created_at: 2007-02-01 00:00:00 author_id: 4 body: 'A comment from another logged-in user' @@ -105,3 +113,30 @@ t13: event: closed created_at: 2007-03-01 00:00:00 author_id: 4 + +t14: + id: 14 + note_id: 8 + visible: true + event: commented + created_at: 2007-02-01 00:00:00 + author_id: 4 + body: 'A comment description' + +t15: + id: 15 + note_id: 2 + visible: true + event: opened + created_at: 2007-01-01 00:00:00 + author_id: 10 + body: 'This is a note with from a suspended user' + +t16: + id: 16 + note_id: 2 + visible: true + event: opened + created_at: 2007-01-01 00:00:00 + author_id: 11 + body: 'This is a note with from a deleted user'