Skip to content

Commit

Permalink
- some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
elanoism committed Jan 16, 2017
1 parent ade77f4 commit 17db6bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/__tests__/api-upload.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("upload trough api", () => {
server.close();
}).listen(4545, async function() {
const result = await ApiMethod("uploadfile", {
params: { auth: "4ko1eVZkZF8R9TmKL0U4ff96S0Gyan4lzr7qk", folderid: 0 },
params: { auth: "auth_token", folderid: 0 },
httpMethod: "post",
apiServer: "127.0.0.1:4545",
apiProtocol: "http",
Expand Down
2 changes: 1 addition & 1 deletion src/client/__tests__/remoteupload.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ one((method) => method === 'uploadprogress', success(mockUploadprogress), progre
describe('remoteupload', () => {
it('downloads file', async () => {
//const response = await remoteupload('https://hostname/file.ext', 0);
const response = await remoteupload('http://zhm.ludost.net/a.jpg', 0, {
const response = await remoteupload('http://host/file.ext', 0, {
onProgress: (progress) => {
expect(progress).toEqual({
all: { downloaded: 150, size: 200 },
Expand Down

0 comments on commit 17db6bb

Please sign in to comment.