Skip to content

Commit

Permalink
chore(release): 1252 - Updated test data of irs response.
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mwesener committed Jul 30, 2024
1 parent b1d5b80 commit 3864272
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ _**For better traceability add the corresponding GitHub issue number in each cha

## [13.0.1 - 26.07.2024]


### Added
- #511 Added installation guide for local frontend with umbrella chart
- #XXXX added tests for notification-detail.facade.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void givenAssets_whenCallbackReceived_thenSaveThemAndStoreContractAgreementId()

// then
assertThat(bpnSupportRepository.findAll()).hasSize(1);
assetsSupport.assertAssetAsBuiltSize(16);
assetsSupport.assertAssetAsBuiltSize(2);
assetsSupport.assertAssetAsPlannedSize(0);

// Make the API call and store the response
Expand Down Expand Up @@ -173,7 +173,7 @@ void givenAssetExist_whenCallbackReceived_thenUpdateIt() {

// then
assertThat(bpnSupportRepository.findAll()).hasSize(1);
assetsSupport.assertAssetAsBuiltSize(16);
assetsSupport.assertAssetAsBuiltSize(14);
assetsSupport.assertAssetAsPlannedSize(0);
String updatedIdShort = assetsSupport.findById("urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb").getIdShort();
assertThat(updatedIdShort).isEqualTo("vehicle_hybrid_v2.asm");
Expand Down Expand Up @@ -228,7 +228,7 @@ void givenSuccessImportJob_whenCallbackReceivedWithTombsones_thenUpdateAsBuiltAs
.statusCode(200)
.extract().path("tombstone");

assertThat(tombstoneAsBuilt).isNotEmpty();
assertThat(tombstoneAsBuilt).isEmpty();

}

Expand Down Expand Up @@ -304,7 +304,7 @@ void givenNoAssets_whenCallbackReceived_thenSaveThem_withoutManufacturerName() t
.statusCode(200);

// then
assetsSupport.assertAssetAsBuiltSize(16);
assetsSupport.assertAssetAsBuiltSize(2);
assetsSupport.assertAssetAsPlannedSize(0);
String manufacturerName = given()
.header(oAuth2Support.jwtAuthorization(JwtRole.ADMIN))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"job": {
"id": "173e576a-d155-41ce-b2d5-71f470ebb15c",
"globalAssetId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99",
"globalAssetId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb",
"state": "COMPLETED",
"exception": null,
"createdOn": "2024-05-29T07:55:10.835923974Z",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"relationships": [
{
"catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99",
"catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb",
"linkedItem": {
"quantity": {
"quantityNumber": 1.0,
Expand All @@ -60,7 +60,7 @@
"payload": {
"administration": null,
"description": [],
"globalAssetId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99",
"globalAssetId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb",
"idShort": null,
"id": "654ecd34-3a1e-46e1-be32-eef70b670db6",
"specificAssetIds": [
Expand Down Expand Up @@ -391,7 +391,7 @@
"aspectType": "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt",
"contractAgreementId": "76e6d1ea-5642-4594-923b-25c0cbd7cc5a",
"payload": {
"catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99",
"catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb",
"childItems": [
{
"createdOn": "2022-02-03T14:48:54.709Z",
Expand All @@ -412,7 +412,7 @@
"aspectType": "urn:samm:io.catenax.serial_part:3.0.0#SerialPart",
"contractAgreementId": "76e6d1ea-5642-4594-923b-25c0cbd7cc5a",
"payload": {
"catenaXId": "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36b99",
"catenaXId": "urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb",
"localIdentifiers": [
{
"key": "manufacturerId",
Expand Down

0 comments on commit 3864272

Please sign in to comment.