From d5cfb38449e94e48f572003a9f19dd47cd57aeaa Mon Sep 17 00:00:00 2001 From: Chon Kou Date: Sun, 10 Sep 2017 00:54:06 -0700 Subject: Sort apps by enabled/disabled but not by official/in-appstore in App Management Signed-off-by: Chon Kou --- settings/tests/js/appsSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'settings/tests') diff --git a/settings/tests/js/appsSpec.js b/settings/tests/js/appsSpec.js index 4b917b425c1..bc4681e2b8d 100644 --- a/settings/tests/js/appsSpec.js +++ b/settings/tests/js/appsSpec.js @@ -172,7 +172,7 @@ describe('OC.Settings.Apps tests', function() { return results; } - it('sorts all applications using the level', function() { + it('does not sort applications using the level', function() { Apps.loadCategory('TestId'); suite.server.requests[0].respond( @@ -223,7 +223,7 @@ describe('OC.Settings.Apps tests', function() { var results = getResultsFromDom(); expect(results.length).toEqual(5); - expect(results).toEqual(['alpha', 'delta', 'zork', 'foo', 'nolevel']); + expect(results).toEqual(['alpha', 'foo', 'delta', 'nolevel', 'zork']); expect(OC.Settings.Apps.State.apps).toEqual({ 'foo': { id: 'foo', -- cgit v1.2.3