Skip to content

Commit 355b856

Browse files
committed
refactor: rename ContextTest to RoCrateMetadataContextTest for clarity
1 parent 7254152 commit 355b856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/edu/kit/datamanager/ro_crate/context/ContextTest.java renamed to src/test/java/edu/kit/datamanager/ro_crate/context/RoCrateMetadataContextTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import static org.junit.jupiter.api.Assertions.*;
2222

23-
public class ContextTest {
23+
public class RoCrateMetadataContextTest {
2424

2525
RoCrateMetadataContext context;
2626
RoCrateMetadataContext complexContext;
@@ -32,7 +32,7 @@ void initContext() throws IOException {
3232

3333
final String crateManifestPath = "/crates/extendedContextExample/ro-crate-metadata.json";
3434
ObjectMapper objectMapper = MyObjectMapper.getMapper();
35-
JsonNode jsonNode = objectMapper.readTree(ContextTest.class.getResourceAsStream(crateManifestPath));
35+
JsonNode jsonNode = objectMapper.readTree(RoCrateMetadataContextTest.class.getResourceAsStream(crateManifestPath));
3636
this.complexContext = new RoCrateMetadataContext(jsonNode.get("@context"));
3737
}
3838

0 commit comments

Comments
 (0)