update snapshot

This commit is contained in:
ehconitin
2026-05-11 18:55:42 +05:30
parent 281c490d2e
commit e9fe9c176b
2 changed files with 10 additions and 10 deletions
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Sync application should fail when creating permissions on a standard role from another app should fail when adding a field permission under the standard admin role 1`] = `
{
@@ -75,7 +75,7 @@ exports[`Sync application should fail when creating permissions on a standard ro
"extensions": {
"code": "METADATA_VALIDATION_FAILED",
"errors": {
"permissionFlag": [
"permissionFlagGrant": [
{
"errors": [
{
@@ -93,7 +93,7 @@ exports[`Sync application should fail when creating permissions on a standard ro
"roleUniversalIdentifier": Any<String>,
"universalIdentifier": Any<String>,
},
"metadataName": "permissionFlag",
"metadataName": "permissionFlagGrant",
"status": "fail",
"type": "create",
},
@@ -115,9 +115,9 @@ exports[`Sync application should fail when creating permissions on a standard ro
},
],
},
"message": "Validation failed for 1 role, 1 permissionFlag",
"message": "Validation failed for 1 role, 1 permissionFlagGrant",
"summary": {
"permissionFlag": 1,
"permissionFlagGrant": 1,
"role": 1,
"totalErrors": 2,
},
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Sync application should fail when retargeting existing permissions to a standard role on update should fail when retargeting a field permission from own role to the standard admin role 1`] = `
{
@@ -68,7 +68,7 @@ exports[`Sync application should fail when retargeting existing permissions to a
"extensions": {
"code": "METADATA_VALIDATION_FAILED",
"errors": {
"permissionFlag": [
"permissionFlagGrant": [
{
"errors": [
{
@@ -85,7 +85,7 @@ exports[`Sync application should fail when retargeting existing permissions to a
"flatEntityMinimalInformation": {
"universalIdentifier": Any<String>,
},
"metadataName": "permissionFlag",
"metadataName": "permissionFlagGrant",
"status": "fail",
"type": "update",
},
@@ -113,9 +113,9 @@ exports[`Sync application should fail when retargeting existing permissions to a
},
],
},
"message": "Validation failed for 1 role, 1 permissionFlag",
"message": "Validation failed for 1 role, 1 permissionFlagGrant",
"summary": {
"permissionFlag": 1,
"permissionFlagGrant": 1,
"role": 1,
"totalErrors": 2,
},