FINERACT-2421: Updated e2e test covering External Asset Owner creation
This commit is contained in:
committed by
Adam Saghy
parent
955222ee82
commit
badc2594dd
+1
-1
@@ -988,7 +988,7 @@ public class AssetExternalizationStepDef extends AbstractStepDef {
|
|||||||
assertThat(exception.getStatus()).as("Expected HTTP %d for duplicate ownerExternalId", expectedStatusCode)
|
assertThat(exception.getStatus()).as("Expected HTTP %d for duplicate ownerExternalId", expectedStatusCode)
|
||||||
.isEqualTo(expectedStatusCode);
|
.isEqualTo(expectedStatusCode);
|
||||||
assertThat(exception.getDeveloperMessage()).as("Error message should indicate duplicate external id")
|
assertThat(exception.getDeveloperMessage()).as("Error message should indicate duplicate external id")
|
||||||
.contains("External Asset Owner id already exist");
|
.contains("Provided external id already exists");
|
||||||
}
|
}
|
||||||
|
|
||||||
@When("Admin tries to create an external asset owner with empty JSON body then it should fail with {int} status code")
|
@When("Admin tries to create an external asset owner with empty JSON body then it should fail with {int} status code")
|
||||||
|
|||||||
Reference in New Issue
Block a user