mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: topic.details is not a plain JS Object
This commit is contained in:
@@ -5,7 +5,8 @@ import Topic from "discourse/models/topic";
|
||||
|
||||
const buildTopic = function(level, archetype = "regular") {
|
||||
return Topic.create({
|
||||
id: 4563,
|
||||
id: 4563
|
||||
}).updateFromJson({
|
||||
title: "Qunit Test Topic",
|
||||
details: {
|
||||
notification_level: level
|
||||
|
||||
Reference in New Issue
Block a user