Skip to content

Commit bb878b6

Browse files
authored
Merge pull request #766 from CycloneDX/dependabot/maven/org.junit-junit-bom-6.0.2
2 parents 91b2d96 + ef9f412 commit bb878b6

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<dependency>
120120
<groupId>org.junit</groupId>
121121
<artifactId>junit-bom</artifactId>
122-
<version>5.13.4</version>
122+
<version>6.0.2</version>
123123
<scope>import</scope>
124124
<type>pom</type>
125125
</dependency>

src/test/java/org/cyclonedx/util/BomUtilsTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
import org.cyclonedx.Version;
2323
import org.cyclonedx.model.Hash;
2424
import org.junit.jupiter.api.Test;
25-
import org.junit.jupiter.api.condition.EnabledForJreRange;
26-
import org.junit.jupiter.api.condition.JRE;
2725

2826
import java.io.File;
2927
import java.io.IOException;
@@ -58,8 +56,7 @@ public void calculateHashes() throws Exception {
5856
}
5957

6058
@Test
61-
@EnabledForJreRange(min = JRE.JAVA_17)
62-
public void calculateSha3HashesOnJava17AndHigher() throws Exception {
59+
public void calculateSha3Hashes() throws Exception {
6360
final File file = new File(Objects.requireNonNull(this.getClass().getResource("/hashtest.txt")).toURI());
6461

6562
final List<Hash> hashes = BomUtils.calculateHashes(file, Version.VERSION_12);
@@ -84,8 +81,7 @@ public void calculateHashesForBigFile() throws Exception {
8481
}
8582

8683
@Test
87-
@EnabledForJreRange(min = JRE.JAVA_17)
88-
public void calculateSha3HashesForBigFileOnJava17AndHigher() throws Exception {
84+
public void calculateSha3HashesForBigFile() throws Exception {
8985
final File file = generateBigFileWithReproductiveContent();
9086

9187
final List<Hash> hashes = BomUtils.calculateHashes(file, Version.VERSION_12);

0 commit comments

Comments
 (0)