feat: added integration tests for saveFile method

This commit is contained in:
Stevan Freeborn
2023-02-16 23:37:03 -06:00
parent ee5aaf3c1f
commit c1ff572bf9
8 changed files with 297 additions and 5 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ describe('EndpointFactory', function () {
describe('getDeleteFileByIdEndpoint', function () {
it('should return the correct delete file endpoint', function () {
const result = EndpointFactory.getDeleteFileByIdEndpoint(1, 2, 3);
expect(result).to.equal('/Files/recordId/1/fieldId/2/fileId/3/file');
expect(result).to.equal('/Files/recordId/1/fieldId/2/fileId/3');
});
});