feature/support different bank can have same DynamicEntity name - step6

This commit is contained in:
hongwei 2022-09-29 19:21:54 +02:00
parent aaacb175b8
commit c69712e798
2 changed files with 3 additions and 3 deletions

View File

@ -343,7 +343,7 @@ class AuthenticationTypeValidationTest extends V400ServerSetup {
}
scenario(s"We will call the endpoint $ApiEndpoint1 with valid FooBar", ApiEndpoint1, VersionOfApi) {
addOneAuthenticationTypeValidation(allowedAll, "OBPv4.0.0-dynamicEntity_createFooBar")
addOneAuthenticationTypeValidation(allowedAll, s"OBPv4.0.0-dynamicEntity_createFooBar_${bankId}")
addDynamicEntity()
addStringEntitlement("CanCreateDynamicEntity_FooBar", bankId)

View File

@ -327,7 +327,7 @@ class JsonSchemaValidationTest extends V400ServerSetup {
feature(s"test JSON Schema Validation endpoints version $VersionOfApi - Validate dynamic entity endpoint request body") {
scenario(s"We will call the endpoint $ApiEndpoint1 with invalid FooBar", ApiEndpoint1, VersionOfApi) {
addOneValidation(jsonSchemaFooBar, "OBPv4.0.0-dynamicEntity_createFooBar")
addOneValidation(jsonSchemaFooBar, s"OBPv4.0.0-dynamicEntity_createFooBar_${bankId}")
addDynamicEntity()
addStringEntitlement("CanCreateDynamicEntity_FooBar", bankId)
@ -344,7 +344,7 @@ class JsonSchemaValidationTest extends V400ServerSetup {
}
scenario(s"We will call the endpoint $ApiEndpoint1 with valid FooBar", ApiEndpoint1, VersionOfApi) {
addOneValidation(jsonSchemaFooBar, "OBPv4.0.0-dynamicEntity_createFooBar")
addOneValidation(jsonSchemaFooBar, s"OBPv4.0.0-dynamicEntity_createFooBar_${bankId}")
addDynamicEntity()
addStringEntitlement("CanCreateDynamicEntity_FooBar", bankId)