AAE-30882 - Fixed unit test for js-api

This commit is contained in:
VitoAlbano
2025-08-22 12:48:30 +01:00
committed by Vito Albano
parent e400bc1068
commit c17c8232af
43 changed files with 575 additions and 460 deletions

View File

@@ -20,7 +20,7 @@ import { BaseMock } from '../base.mock';
export class PeopleMock extends BaseMock {
get201Response(): void {
nock(this.host, { encodedQueryParams: true })
this.createNockWithCors()
.post('/alfresco/api/-default-/public/alfresco/versions/1/people')
.reply(201, {
entry: {
@@ -36,7 +36,7 @@ export class PeopleMock extends BaseMock {
}
get200ResponsePersons(): void {
nock(this.host, { encodedQueryParams: true })
this.createNockWithCors()
.get('/alfresco/api/-default-/public/alfresco/versions/1/people')
.reply(200, {
list: {