From 6754644b4917d23d455b5484c9d6350f1ce34184 Mon Sep 17 00:00:00 2001
From: Felix Heidecke <felix@heidecke.me>
Date: Wed, 18 Dec 2019 06:44:17 +0100
Subject: [PATCH] Update publicAppSpec.js

---
 apps/files_sharing/tests/js/publicAppSpec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/tests/js/publicAppSpec.js b/apps/files_sharing/tests/js/publicAppSpec.js
index e25bc23d6aa7..87437bc029a2 100644
--- a/apps/files_sharing/tests/js/publicAppSpec.js
+++ b/apps/files_sharing/tests/js/publicAppSpec.js
@@ -94,7 +94,7 @@ describe('OCA.Sharing.PublicApp tests', function() {
 			// uploader function messes up with fakeServer
 			var uploaderDetectStub = sinon.stub(OC.Uploader.prototype, '_supportAjaxUploadWithProgress');
 			App.initialize($('#preview'));
-			expect(fakeServer.requests.length).toEqual(2);
+			expect(fakeServer.requests.length).toEqual(1);
 			expect(fakeServer.requests[0].method).toEqual('PROPFIND');
 			expect(fakeServer.requests[0].url).toEqual('https://example.com:9876/owncloud/public.php/webdav/subdir');
 			expect(fakeServer.requests[0].requestHeaders.Authorization).toEqual('Basic c2g0dG9rOm51bGw=');