Skip to content

Commit

Permalink
fix(deps): update dependency com.tngtech.archunit:archunit-junit5 to …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
renovate[bot] and rajadilipkolli authored Dec 13, 2023
1 parent 0a44c12 commit a695fd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
Expand All @@ -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")));
}
Expand Down

0 comments on commit a695fd0

Please sign in to comment.