DEV: post fixture mismatching topic fixture

post 398 belongs to a non PM topic, use a unique id for this PM topic
This commit is contained in:
Sam Saffron 2020-04-01 17:44:18 +11:00
parent a098464af3
commit acc16dada3
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
2 changed files with 64 additions and 1 deletions

View File

@ -1,4 +1,67 @@
export default { export default {
"/posts/98737532": {
id: 98737532,
name: null,
username: "tim.lange",
avatar_template: "/images/avatar.png",
created_at: "2019-03-28T07:57:50.527Z",
cooked: "<p>I am writing this private message to you</p>",
ignored: false,
post_number: 1,
post_type: 1,
updated_at: "2019-03-28T07:57:50.527Z",
reply_count: 0,
reply_to_post_number: null,
quote_count: 0,
incoming_link_count: 0,
reads: 2,
score: 1.15,
yours: true,
topic_id: 34,
topic_slug: "test-pm",
display_username: null,
primary_group_name: null,
primary_group_flair_url: null,
primary_group_flair_bg_color: null,
primary_group_flair_color: null,
version: 1,
can_edit: true,
can_delete: false,
can_recover: null,
can_wiki: true,
read: true,
user_title: null,
actions_summary: [
{
id: 3,
can_act: true
},
{
id: 4,
can_act: true
},
{
id: 8,
can_act: true
},
{
id: 7,
can_act: true
}
],
moderator: false,
admin: true,
staff: true,
user_id: 1,
hidden: false,
trust_level: 1,
deleted_at: null,
user_deleted: false,
edit_reason: null,
can_view_edit_history: true,
wiki: false
},
"/posts/398": { "/posts/398": {
id: 398, id: 398,
name: "Uwe Keim", name: "Uwe Keim",

View File

@ -4749,7 +4749,7 @@ export default {
post_stream: { post_stream: {
posts: [ posts: [
{ {
id: 398, id: 98737532,
name: null, name: null,
username: "tim.lange", username: "tim.lange",
avatar_template: "/images/avatar.png", avatar_template: "/images/avatar.png",