diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-06 20:06:04 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 08:57:15 +0100 |
commit | 06708cc1725c46ba615042bcd5de169d944b2e46 (patch) | |
tree | 61e38902a2ea959e9920650c15e5acef468b0e34 /apps/files_external/tests/js | |
parent | dbafec0c28187f38150a1a8ae351247d9a797d58 (diff) | |
download | nextcloud-server-06708cc1725c46ba615042bcd5de169d944b2e46.tar.gz nextcloud-server-06708cc1725c46ba615042bcd5de169d944b2e46.zip |
fix js unit tests
Diffstat (limited to 'apps/files_external/tests/js')
-rw-r--r-- | apps/files_external/tests/js/settingsSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js index 3d0168898ca..b6372649fb8 100644 --- a/apps/files_external/tests/js/settingsSpec.js +++ b/apps/files_external/tests/js/settingsSpec.js @@ -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 }); }); }); |