]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix js unit tests
authorMorris Jobke <hey@morrisjobke.de>
Wed, 6 Jan 2016 19:06:04 +0000 (20:06 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 7 Jan 2016 07:57:15 +0000 (08:57 +0100)
apps/files_external/tests/js/settingsSpec.js

index 3d0168898ca60ab3957c1de5b4bc107103547af3..b6372649fb8ac392473fbde2152d0553cfa62aee 100644 (file)
@@ -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
                                });
                        });
                });