Skip to content

Commit

Permalink
Cleanup Avram schema files of K10plus and allow updating the schema #291
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Nov 6, 2023
1 parent 3cf58f8 commit 6fc9a85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class PicaVocabularyManagerTest {

@Test
public void constructor() throws FileNotFoundException, ParseException {
PicaVocabularyManager manager = PicaVocabularyManager.getInstance(getPath("pica/vocabularies.json"));
PicaVocabularyManager manager = PicaVocabularyManager.getInstance(getPathFromMain("pica/vocabularies.json"));

VocabularyEntry entry = manager.get("045A");
assertNotNull(entry);
Expand All @@ -33,4 +33,7 @@ private String getPath(String fileName) {
return Paths.get("src/test/resources/" + fileName).toAbsolutePath().toString();
}

private String getPathFromMain(String fileName) {
return Paths.get("src/main/resources/" + fileName).toAbsolutePath().toString();
}
}
144 changes: 0 additions & 144 deletions src/test/resources/pica/schema/vocabularies.json

This file was deleted.

0 comments on commit 6fc9a85

Please sign in to comment.