From: Vincent Petry Date: Mon, 16 Mar 2015 14:07:38 +0000 (+0100) Subject: Fix storage priority in JS unit test X-Git-Tag: v8.1.0alpha1~233^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=847880803e9bdbaae332762e197ac13ffe552233;p=nextcloud-server.git Fix storage priority in JS unit test --- diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js index 350840e542c..5a3ee2cb5f1 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