mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:37:00 +00:00
feature/support different bank can have same DynamicEntity name - step6
This commit is contained in:
parent
aaacb175b8
commit
c69712e798
@ -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)
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user