]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix storage priority in JS unit test
authorVincent Petry <pvince81@owncloud.com>
Mon, 16 Mar 2015 14:07:38 +0000 (15:07 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 16 Mar 2015 14:07:38 +0000 (15:07 +0100)
apps/files_external/tests/js/settingsSpec.js

index 350840e542cb2470f8f33d85050e5c105d5fc218..5a3ee2cb5f17ca97c2e376daa8bc7ac94493a03d 100644 (file)
@@ -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