Skip to content

Commit

Permalink
Update publicAppSpec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
felixheidecke committed Dec 18, 2019
1 parent 2285a4b commit 6754644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/tests/js/publicAppSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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=');
Expand Down

0 comments on commit 6754644

Please sign in to comment.