fix js unit tests
This commit is contained in:
parent
dbafec0c28
commit
06708cc172
1 changed files with 2 additions and 2 deletions
|
@ -254,13 +254,13 @@ describe('OCA.External.Settings tests', function() {
|
|||
// defaults to true
|
||||
var $field = $td.find('.dropdown [name=previews]');
|
||||
expect($field.prop('checked')).toEqual(true);
|
||||
$td.find('.dropdown [name=filesystem_check_changes]').val(2);
|
||||
$td.find('.dropdown [name=filesystem_check_changes]').val(0);
|
||||
$('body').mouseup();
|
||||
|
||||
expect(JSON.parse($tr.find('input.mountOptions').val())).toEqual({
|
||||
encrypt: true,
|
||||
previews: true,
|
||||
filesystem_check_changes: 2
|
||||
filesystem_check_changes: 0
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue