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 3864272 commit 09d9922
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class IrsCallbackControllerIT extends IntegrationTestSpecification {
AssetAsBuiltSupportRepository assetAsBuiltSupportRepository;



@Test
void givenAssets_whenCallbackReceived_thenSaveThemAndStoreContractAgreementId() throws JoseException {
// given
Expand Down Expand Up @@ -171,12 +170,13 @@ void givenAssetExist_whenCallbackReceived_thenUpdateIt() {
.log().all()
.statusCode(200);


// then
assertThat(bpnSupportRepository.findAll()).hasSize(1);
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");
String updatedIdShort = assetsSupport.findById("urn:uuid:6dafbcec-2fce-4cbb-a5a9-b3b32aa5cffc").getIdShort();
assertThat(updatedIdShort).isEqualTo("ecu.asm");
//urn:uuid:d387fa8e-603c-42bd-98c3-4d87fef8d2bb
//vehicle_hybrid_v2.asm
}
Expand Down

0 comments on commit 09d9922

Please sign in to comment.