Skip to content

Commit

Permalink
update tests to call the correct IDGenerator function for tagset IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
maltem-za committed Sep 5, 2023
1 parent 8d141b3 commit 17cc4e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void createTagset() throws IOException {
gitlabManagerRestricted.getUsername(), gitlabManagerRestricted.getEmail()
);

String tagsetId = new IDGenerator().generate();
String tagsetId = new IDGenerator().generateTagsetId();
File tagsetDirectory = Paths.get(projectDirectory.toURI())
.resolve(GitProjectHandler.TAGSETS_DIRECTORY_NAME)
.resolve(tagsetId)
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/de/catma/tag/TagsetDefinitionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TagsetDefinitionTest {
void testTagIteration() {
IDGenerator idGenerator = new IDGenerator();

TagsetDefinition tagset = new TagsetDefinition(idGenerator.generate(), "Test");
TagsetDefinition tagset = new TagsetDefinition(idGenerator.generateTagsetId(), "Test");

TagDefinition root1 = new TagDefinition(idGenerator.generate(), "root1", null, tagset.getUuid());
tagset.addTagDefinition(root1);
Expand Down

0 comments on commit 17cc4e3

Please sign in to comment.