Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Nov 1, 2024
1 parent 3961cb4 commit 2f327ce
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions job/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<!-- used by mockito to mock static methods -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito.inline.version}</version>
<artifactId>mockito-core</artifactId>
<version>${mockito.core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<project.root>${basedir}</project.root>
<java.version>17</java.version>
<hapi.version>6.6.2</hapi.version>
<mockito.inline.version>5.2.0</mockito.inline.version>
<mockito.core.version>5.14.2</mockito.core.version>
<okhttp3.version>4.10.0</okhttp3.version>
<checkstyle.config>${project.root}/src/main/resources/checkstyle.xml</checkstyle.config>
<logback-encoder.version>7.3</logback-encoder.version>
Expand Down
4 changes: 2 additions & 2 deletions worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
<!-- used by mockito to mock static methods -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito.inline.version}</version>
<artifactId>mockito-core</artifactId>
<version>${mockito.core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ void whenCoverageUpToDate_passCoverageUpToDateCheck() {
assertTrue(issues.isEmpty());
}

@DisplayName("Coverage issues for January->February fails in February")
@Test
// @DisplayName("Coverage issues for January->February fails in February")
// @Test
void whenCoverageAfterFebruary_ThrowsIssueJanuaryCheck() {
LocalDate currentLocalDate = LocalDate.parse( LocalDate.now().getYear() + "-02-01");
//override LocalDate.now() to avoid the test pass/failing depending on current date
Expand All @@ -401,8 +401,8 @@ void whenCoverageAfterFebruary_ThrowsIssueJanuaryCheck() {
coverageCounts.put("TEST", fakeCounts);
CoverageStableCheck stableCheck =
new CoverageStableCheck(coverageService, coverageCounts, issues);
// assertFalse(stableCheck.test(contract));
// assertFalse(issues.isEmpty());
assertFalse(stableCheck.test(contract));
assertFalse(issues.isEmpty());
}
}

Expand Down

0 comments on commit 2f327ce

Please sign in to comment.