Skip to content

Commit

Permalink
fix: added cx number check
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrewe committed Sep 18, 2024
1 parent 6eebf72 commit 30a6f73
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ public void testSammCreationAsCustomer() throws Exception {
for (var field: jsonNode.get("materialNumberCustomer")) {
Assertions.assertEquals(CUSTOMER_MAT_NUMBER, field.asText());
}

Assertions.assertTrue(jsonNode.get("materialGlobalAssetId").isArray());
for (var field: jsonNode.get("materialGlobalAssetId")) {
Assertions.assertEquals(CX_MAT_NUMBER, field.asText());
}
}

@ParameterizedTest
Expand Down

0 comments on commit 30a6f73

Please sign in to comment.