summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-24 16:03:35 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-24 16:03:35 +0100
commit9385eef31a8af99f35bcb37d32f53efda4849d3e (patch)
tree3f0cb057cd1cc091b20c94cb85f180a7fd48d3ec /apps/files_external/tests
parent95f2e15f836fd65407578a8a961bea2ca7691ef7 (diff)
parent08839ce77dcf23ae12725bd47e58c1bab5ea4aaf (diff)
downloadnextcloud-server-9385eef31a8af99f35bcb37d32f53efda4849d3e.tar.gz
nextcloud-server-9385eef31a8af99f35bcb37d32f53efda4849d3e.zip
Merge pull request #18999 from owncloud/ext-config-listadmin
Improvements to external storages list rendering
Diffstat (limited to 'apps/files_external/tests')
-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': {
},