diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-08 17:54:38 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-08 17:54:38 +0100 |
commit | 694a96d93816f93e487f0d5ce69e3e27e29702e8 (patch) | |
tree | 5c336b92b27c43d7ae185be7bb6341fbcffa40cc /apps/files/tests | |
parent | 41210c8cf17a07add79e25149c37b23c0c30e35a (diff) | |
download | nextcloud-server-694a96d93816f93e487f0d5ce69e3e27e29702e8.tar.gz nextcloud-server-694a96d93816f93e487f0d5ce69e3e27e29702e8.zip |
Fixed some more test and loop fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/js/breadcrumbSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/js/breadcrumbSpec.js b/apps/files/tests/js/breadcrumbSpec.js index c04b0f18035..b9075265ca5 100644 --- a/apps/files/tests/js/breadcrumbSpec.js +++ b/apps/files/tests/js/breadcrumbSpec.js @@ -156,7 +156,7 @@ describe('OCA.Files.BreadCrumb tests', function() { onDrop: handler }); bc.setDirectory('/one/two/three/four'); - expect(droppableStub.calledOnce).toEqual(true); + expect(droppableStub.calledOnce).toEqual(false); expect(droppableStub.getCall(0).args[0].drop).toBeDefined(); // simulate drop @@ -169,7 +169,7 @@ describe('OCA.Files.BreadCrumb tests', function() { }); }); describe('Resizing', function() { - var bc, dummyDir, widths, oldUpdateTotalWidth; + var bc, dummyDir, widths; beforeEach(function() { dummyDir = '/short name/longer name/looooooooooooonger/' + |