mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:51:06 +08:00
FIX: Broken test
This commit is contained in:
@ -55,7 +55,7 @@ postStreamTest('deleted posts', {
|
|||||||
posts() {
|
posts() {
|
||||||
const topic = Topic.create({ details: { created_by: { id: 123 } } });
|
const topic = Topic.create({ details: { created_by: { id: 123 } } });
|
||||||
return [
|
return [
|
||||||
Post.create({ topic, id: 1, post_number: 1, deleted_at: new Date().getTime() }),
|
Post.create({ topic, id: 1, post_number: 1, deleted_at: new Date().toString() }),
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user