diff --git a/build.gradle b/build.gradle index 4087365f..65c0a6b1 100644 --- a/build.gradle +++ b/build.gradle @@ -74,7 +74,7 @@ dependencies { testImplementation "org.awaitility:awaitility" testImplementation "org.testcontainers:junit-jupiter" testImplementation "org.testcontainers:postgresql" - testImplementation 'com.tngtech.archunit:archunit-junit5:1.2.0' + testImplementation 'com.tngtech.archunit:archunit-junit5:1.2.1' testAnnotationProcessor "org.projectlombok:lombok" // If you are using mapstruct in test code testAnnotationProcessor("org.mapstruct:mapstruct-processor:1.5.5.Final") diff --git a/src/test/java/com/learning/mfscreener/web/controllers/NavControllerIT.java b/src/test/java/com/learning/mfscreener/web/controllers/NavControllerIT.java index e5e3947f..9fb3ea5b 100644 --- a/src/test/java/com/learning/mfscreener/web/controllers/NavControllerIT.java +++ b/src/test/java/com/learning/mfscreener/web/controllers/NavControllerIT.java @@ -35,7 +35,7 @@ void shouldLoadDataWhenSchemeFound() throws Exception { .andExpect(header().string("Content-Type", is("application/json"))) .andExpect(jsonPath("$.schemeCode", is(120503L), Long.class)) .andExpect(jsonPath("$.payout", is("INF846K01EW2"))) - .andExpect(jsonPath("$.schemeName", is("Axis Long Term Equity Fund - Direct Plan - Growth Option"))) + .andExpect(jsonPath("$.schemeName", is("Axis ELSS Tax Saver Fund - Direct Plan - Growth Option"))) .andExpect(jsonPath("$.nav", notNullValue(String.class))) .andExpect(jsonPath("$.date", notNullValue(String.class))); } @@ -49,7 +49,7 @@ void shouldLoadDataWhenSchemeFoundAndLoadHistoricalData() throws Exception { .andExpect(header().string("Content-Type", is("application/json"))) .andExpect(jsonPath("$.schemeCode", is(120503L), Long.class)) .andExpect(jsonPath("$.payout", is("INF846K01EW2"))) - .andExpect(jsonPath("$.schemeName", is("Axis Long Term Equity Fund - Direct Plan - Growth Option"))) + .andExpect(jsonPath("$.schemeName", is("Axis ELSS Tax Saver Fund - Direct Plan - Growth Option"))) .andExpect(jsonPath("$.nav", is("73.6085"))) .andExpect(jsonPath("$.date", is("2022-12-20"))); }