Skip to content

Commit

Permalink
fix(esr):[-] Adjust acceptance test to testdata set 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Oct 7, 2022
1 parent 49632b6 commit 635806b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class EsrAcceptanceTest {
@Test
void shouldRetrieveEsrCertificateStatisticsWithExpectedStates() {
// given
final String globalAssetId = "urn:uuid:2ab59090-5406-444a-87c1-3d0b6bc85718";
final String globalAssetId = "urn:uuid:993b2dd2-be30-4455-835d-1cd26bd1635c";
final RequestSpecBuilder builder = new RequestSpecBuilder();
builder.setBaseUri("https://irs-esr.dev.demo.catena-x.net");
final RequestSpecification requestSpecification = builder.build();
Expand All @@ -45,10 +45,10 @@ void shouldRetrieveEsrCertificateStatisticsWithExpectedStates() {
assertThat(actualStatistics.getCertificateName()).isNotNull();
assertThat(actualStatistics.getCertificateName()).isEqualTo(CertificateType.ISO14001);
assertThat(actualStateStatistics).isNotNull();
assertThat(actualStateStatistics.getCertificatesWithStateValid()).isEqualTo(21);
assertThat(actualStateStatistics.getCertificatesWithStateValid()).isEqualTo(5);
assertThat(actualStateStatistics.getCertificatesWithStateInvalid()).isEqualTo(3);
assertThat(actualStateStatistics.getCertificatesWithStateUnknown()).isEqualTo(2);
assertThat(actualStateStatistics.getCertificatesWithStateExceptional()).isEqualTo(1);
assertThat(actualStateStatistics.getCertificatesWithStateExceptional()).isEqualTo(31);
}

}

0 comments on commit 635806b

Please sign in to comment.