diff --git a/backend/src/test/java/com/group1/programminglanguagesforum/Services/TagServiceTests.java b/backend/src/test/java/com/group1/programminglanguagesforum/Services/TagServiceTests.java index 4b8fbf9..7a6a6b1 100644 --- a/backend/src/test/java/com/group1/programminglanguagesforum/Services/TagServiceTests.java +++ b/backend/src/test/java/com/group1/programminglanguagesforum/Services/TagServiceTests.java @@ -12,6 +12,7 @@ import java.util.Arrays; import java.util.Date; +import java.util.HashSet; import java.util.List; import java.util.NoSuchElementException; import java.util.Optional; @@ -111,7 +112,7 @@ void testGetTagDetails_Success() { .reputationPoints(0L) .build(); - Tag mockTag = new Tag(1L, null, "Tag1", "Description1", null); + Tag mockTag = new Tag(1L, null, "Tag1", "Description1", new HashSet<>()); Question q1 = Question.builder() .id(1L)