diff --git a/libs/backend-api7/e2e/support/utils.ts b/libs/backend-api7/e2e/support/utils.ts index ba93929..5a264a0 100644 --- a/libs/backend-api7/e2e/support/utils.ts +++ b/libs/backend-api7/e2e/support/utils.ts @@ -61,7 +61,11 @@ export const createEvent = ( parentName ? `${parentName}.${resourceName}` : resourceName, ), newValue: resource, - parentId: parentName ? ADCSDK.utils.generateId(parentName) : undefined, + parentId: parentName + ? resourceType === ADCSDK.ResourceType.CONSUMER_CREDENTIAL + ? parentName + : ADCSDK.utils.generateId(parentName) + : undefined, }); export const updateEvent = (