adamsaghy commented on PR #5463:
URL: https://github.com/apache/fineract/pull/5463#issuecomment-3883820462
```
@AssetExternalizationFeature @TestRailId:C4641
Scenario: Verify creation of an external asset owner fails for null,
duplicate and empty ownerExternalId #
fineract-e2e-tests-runner/src/test/resources/features/AssetExternalization.feature:2029
When Admin tries to create an external asset owner with null
ownerExternalId then it should fail with 400 status code #
org.apache.fineract.test.stepdef.assetexternalization.AssetExternalizationStepDef.createExternalAssetOwnerWithNullIdFails(int)
When Admin tries to create an external asset owner with empty JSON body
then it should fail with 400 status code #
org.apache.fineract.test.stepdef.assetexternalization.AssetExternalizationStepDef.createExternalAssetOwnerWithEmptyBodyFails(int)
When Admin creates a new external asset owner with a unique
ownerExternalId #
org.apache.fineract.test.stepdef.assetexternalization.AssetExternalizationStepDef.createExternalAssetOwnerWithUniqueId()
Then External asset owner creation response has a non-null resourceId
#
org.apache.fineract.test.stepdef.assetexternalization.AssetExternalizationStepDef.verifyCreateResponseHasResourceId()
When Admin tries to create an external asset owner with a duplicate
ownerExternalId then it should fail with 403 status code #
org.apache.fineract.test.stepdef.assetexternalization.AssetExternalizationStepDef.createExternalAssetOwnerWithDuplicateIdFails(int)
java.lang.AssertionError: [Error message should indicate duplicate
external id]
Expecting actual:
"Validation errors: [id] Provided external id already exists with Id
TestOwner-57A5XAQZ8LT5T8FLP73U"
to contain:
"External Asset Owner id already exist"
at
org.apache.fineract.test.stepdef.assetexternalization.AssetExternalizationStepDef.createExternalAssetOwnerWithDuplicateIdFails(AssetExternalizationStepDef.java:991)
at ✽.Admin tries to create an external asset owner with a duplicate
ownerExternalId then it should fail with 403 status
code(file:///home/runner/work/fineract/fineract/fineract-e2e-tests-runner/src/test/resources/features/AssetExternalization.feature:2034)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]