Revert "DEV: Use equal method instead of deepEqual"

Revert “DEV: Use equal method instead of deepEqual”

This reverts commit 5969a31d73e749b116da27944e5ead4e8f332b3f.

From 06b3621e800c6b8356fc582d17a89e3d30061b1d Mon Sep 17 00:00:00 2001
From: Vinoth Kannan <vinothkannan@vinkas.com>
Date: Fri, 23 Nov 2018 04:08:51 +0530
Subject: [PATCH] Revert "DEV: Use equal method instead of deepEqual"

This reverts commit 5969a31d73e749b116da27944e5ead4e8f332b3f.

diff --git a/test/javascripts/models/category-test.js.es6 b/test/javascripts/models/category-test.js.es6
index 9c1d60b..aa06c12 100644
--- a/test/javascripts/models/category-test.js.es6
+++ b/test/javascripts/models/category-test.js.es6
@@ -197,7 +197,7 @@ QUnit.test("findByIds", assert => {
     _.values(categories)
   );
 
-  assert.equal(Discourse.Category.findByIds(), []);
+  assert.deepEqual(Discourse.Category.findByIds(), []);
 });
 
 QUnit.test("search with category name", assert => {

GitHub

1 Like