summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/js
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-14 22:21:42 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-11-21 22:54:21 +0000
commit6a2e7632d17eb2b239aad068ba1dcd1252d6ae0f (patch)
treebacbebe5f294fc013b109e60a86be9faed34a4d4 /apps/files_external/tests/js
parent8f4b780a9055e9ce26a7c147fd4ee70dde8f02dc (diff)
downloadnextcloud-server-6a2e7632d17eb2b239aad068ba1dcd1252d6ae0f.tar.gz
nextcloud-server-6a2e7632d17eb2b239aad068ba1dcd1252d6ae0f.zip
Fix JS unit tests
Diffstat (limited to 'apps/files_external/tests/js')
-rw-r--r--apps/files_external/tests/js/settingsSpec.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js
index 67a81277124..3d0168898ca 100644
--- a/apps/files_external/tests/js/settingsSpec.js
+++ b/apps/files_external/tests/js/settingsSpec.js
@@ -54,7 +54,8 @@ describe('OCA.External.Settings tests', function() {
// within the DOM by the server template
$('#externalStorage .selectBackend:first').data('configurations', {
'\\OC\\TestBackend': {
- 'backend': 'Test Backend Name',
+ 'identifier': '\\OC\\TestBackend',
+ 'name': 'Test Backend',
'configuration': {
'field1': 'Display Name 1',
'field2': '&Display Name 2'
@@ -65,7 +66,8 @@ describe('OCA.External.Settings tests', function() {
'priority': 11
},
'\\OC\\AnotherTestBackend': {
- 'backend': 'Another Test Backend Name',
+ 'identifier': '\\OC\\AnotherTestBackend',
+ 'name': 'Another Test Backend',
'configuration': {
'field1': 'Display Name 1',
'field2': '&Display Name 2'
@@ -80,6 +82,7 @@ describe('OCA.External.Settings tests', function() {
$('#externalStorage #addMountPoint .authentication:first').data('mechanisms', {
'mechanism1': {
+ 'identifier': 'mechanism1',
'name': 'Mechanism 1',
'configuration': {
},