update snapshot
This commit is contained in:
+5
-5
@@ -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,
|
||||
},
|
||||
|
||||
+5
-5
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user