Skip to content

Commit c2b604e

Browse files
committed
test(forum): updated forum service unit tests.
1 parent e880c68 commit c2b604e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/jobboard-backend/src/test/java/org/bounswe/jobboardbackend/forum/service/ForumServiceTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import org.bounswe.jobboardbackend.forum.repository.ForumCommentRepository;
1414
import org.bounswe.jobboardbackend.forum.repository.ForumCommentUpvoteRepository;
1515
import org.bounswe.jobboardbackend.forum.repository.ForumPostRepository;
16+
import org.bounswe.jobboardbackend.notification.service.NotificationService;
1617
import org.junit.jupiter.api.BeforeEach;
1718
import org.junit.jupiter.api.Test;
1819
import org.junit.jupiter.api.extension.ExtendWith;
@@ -43,6 +44,8 @@ class ForumServiceTest {
4344
@Mock
4445
private ForumCommentDownvoteRepository downvoteRepository;
4546

47+
@Mock private NotificationService notificationService;
48+
4649
@InjectMocks
4750
private ForumService forumService;
4851

0 commit comments

Comments
 (0)