From 0c2a54dbb5d5c0d436f19e0a3ce559226f9dd034 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 30 May 2017 15:13:56 -0400 Subject: [PATCH] fix failing js test --- test/javascripts/controllers/topic-test.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/controllers/topic-test.js.es6 b/test/javascripts/controllers/topic-test.js.es6 index c3f2ad102b2..a8e3609e34b 100644 --- a/test/javascripts/controllers/topic-test.js.es6 +++ b/test/javascripts/controllers/topic-test.js.es6 @@ -101,7 +101,7 @@ test("Automating setting of allPostsSelected", function() { test("Select Replies when present", function() { var topic = buildTopic(), - tc = this.subject({ model: topic }), + tc = this.subject({ model: topic, appEvents: AppEvents.create() }), p1 = Discourse.Post.create({id: 1, post_number: 1, reply_count: 1}), p2 = Discourse.Post.create({id: 2, post_number: 2}), p3 = Discourse.Post.create({id: 2, post_number: 3, reply_to_post_number: 1});