Skip to content

Commit

Permalink
Added the pulse services mock.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocielliottc committed Sep 12, 2024
1 parent 4d60113 commit 58fa487
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.objectcomputing.checkins.services.feedback_request.FeedbackRequest;
import com.objectcomputing.checkins.services.feedback_request.FeedbackRequestRepository;
import com.objectcomputing.checkins.services.feedback_request.FeedbackRequestServicesImpl;
import com.objectcomputing.checkins.services.pulse.PulseServices;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand All @@ -27,6 +28,9 @@ class CheckServicesImplTest extends TestContainersSuite {
@Mock
private FeedbackRequestRepository feedbackRequestRepository;

@Mock
private PulseServices pulseServices;

@InjectMocks
private CheckServicesImpl checkServices;

Expand Down Expand Up @@ -54,4 +58,4 @@ void sendScheduledEmails() {
verify(feedbackRequestRepository).update(retrievedRequest);

}
}
}

0 comments on commit 58fa487

Please sign in to comment.