From a695fd082b412ddc2525c9ca08f40503f4be5032 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:20:31 +0530 Subject: [PATCH] fix(deps): update dependency com.tngtech.archunit:archunit-junit5 to v1.2.1 (#264) * fix(deps): update dependency com.tngtech.archunit:archunit-junit5 to v1.2.1 * fix : junit, as fund name is changed * downgrade to java 17 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Raja Kolli --- build.gradle | 2 +- .../learning/mfscreener/web/controllers/NavControllerIT.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"))); }