summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-08 17:54:38 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-08 17:54:38 +0100
commit694a96d93816f93e487f0d5ce69e3e27e29702e8 (patch)
tree5c336b92b27c43d7ae185be7bb6341fbcffa40cc /apps/files/tests
parent41210c8cf17a07add79e25149c37b23c0c30e35a (diff)
downloadnextcloud-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.js4
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/' +