fix Test-setUp
This commit is contained in:
@ -36,12 +36,11 @@ class EventServiceTest {
|
||||
|
||||
@Autowired
|
||||
private EventRepository eventRepository;
|
||||
@Autowired
|
||||
private EventService eventService;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
|
||||
eventService = new EventService(mock(JsonService.class), eventRepository);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user