File tree Expand file tree Collapse file tree
src/test/java/com/example/demo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030import com .example .demo .repository .NotificationSettingRepository ;
3131import com .example .demo .repository .PersonalNotificationSettingRepository ;
3232import com .example .demo .repository .NoticeRepository ;
33+ import com .example .demo .repository .AlertRepository ;
3334import com .example .demo .service .NoticeService ;
3435import com .example .demo .service .NoticeNotificationHelper ;
36+ import com .example .demo .service .AlertService ;
3537import org .junit .jupiter .api .Test ;
3638import org .springframework .boot .test .context .SpringBootTest ;
3739import org .springframework .boot .test .mock .mockito .MockBean ;
@@ -131,12 +133,18 @@ class TestApplicationTests {
131133 @ MockBean
132134 private NoticeRepository noticeRepository ;
133135
136+ @ MockBean
137+ private AlertRepository alertRepository ;
138+
134139 @ MockBean
135140 private NoticeService noticeService ;
136141
137142 @ MockBean
138143 private NoticeNotificationHelper noticeNotificationHelper ;
139144
145+ @ MockBean
146+ private AlertService alertService ;
147+
140148 @ Test
141149 void contextLoads () {
142150 }
You can’t perform that action at this time.
0 commit comments