Closed pahan35 closed 6 years ago
Are you testing with the real API?
Because without integration tests we cannot make sure this work. However I can merge if you are testing live and later we will do the integration test.
This is tested with real API.
Tests are in actual state cause there is no new breaking changes.
Only my logic for uploading via attachmentUrl changed a bit to run if missed descriptor param.
When I started implement deleteFile I noticed that files attached via attachmentUrl only as direct links
So when I tried to upload it correctly I need to write code like this
But in this case I noticed that file don't pass properly, cause body is a string.
So I change check condition in uploadFile and test for this function.
Then I successfully upload my file (first in the list)