move embed item fix to SubmissionJsonPatchOperationsService

This commit is contained in:
Art Lowel
2024-04-24 10:54:54 +02:00
parent a3540be736
commit af2e0976af
4 changed files with 35 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ describe('JsonPatchOperationsService test suite', () => {
});
it('should send a new SubmissionPatchRequest', () => {
const expected = new SubmissionPatchRequest(requestService.generateRequestId(), resourceHref + '?embed=item', patchOpBody);
const expected = new SubmissionPatchRequest(requestService.generateRequestId(), resourceHref, patchOpBody);
scheduler.schedule(() => service.jsonPatchByResourceType(resourceEndpoint, resourceScope, testJsonPatchResourceType).subscribe());
scheduler.flush();
@@ -246,7 +246,7 @@ describe('JsonPatchOperationsService test suite', () => {
});
it('should send a new SubmissionPatchRequest', () => {
const expected = new SubmissionPatchRequest(requestService.generateRequestId(), resourceHref + '?embed=item', patchOpBody);
const expected = new SubmissionPatchRequest(requestService.generateRequestId(), resourceHref, patchOpBody);
scheduler.schedule(() => service.jsonPatchByResourceID(resourceEndpoint, resourceScope, testJsonPatchResourceType, testJsonPatchResourceId).subscribe());
scheduler.flush();