Fix storage priority in JS unit test

This commit is contained in:
Vincent Petry 2015-03-16 15:07:38 +01:00
parent 06448170cf
commit 847880803e
1 changed files with 6 additions and 3 deletions

View 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