From 847880803e9bdbaae332762e197ac13ffe552233 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 16 Mar 2015 15:07:38 +0100 Subject: [PATCH] Fix storage priority in JS unit test --- apps/files_external/tests/js/settingsSpec.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js index 350840e542..5a3ee2cb5f 100644 --- a/apps/files_external/tests/js/settingsSpec.js +++ b/apps/files_external/tests/js/settingsSpec.js @@ -56,14 +56,16 @@ describe('OCA.External.Settings tests', function() { 'configuration': { 'field1': 'Display Name 1', 'field2': '&Display Name 2' - } + }, + 'priority': 11 }, '\\OC\\AnotherTestBackend': { 'backend': 'Another Test Backend Name', 'configuration': { 'field1': 'Display Name 1', 'field2': '&Display Name 2' - } + }, + 'priority': 12 } } ); @@ -132,7 +134,8 @@ describe('OCA.External.Settings tests', function() { backendClass: '\\OC\\TestBackend', 'backendOptions[field1]': 'test', 'backendOptions[field2]': '', - mountPoint: 'TestBackend' + mountPoint: 'TestBackend', + priority: '11' }); // TODO: respond and check data-id