aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-06 20:06:04 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-07 08:57:15 +0100
commit06708cc1725c46ba615042bcd5de169d944b2e46 (patch)
tree61e38902a2ea959e9920650c15e5acef468b0e34 /apps/files_external/tests/js
parentdbafec0c28187f38150a1a8ae351247d9a797d58 (diff)
downloadnextcloud-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.js4
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
});
});
});