diff --git a/src/test/java/ch/wisv/events/core/service/TicketServiceTest.java b/src/test/java/ch/wisv/events/core/service/TicketServiceTest.java index be5ff333..a6b2db4f 100644 --- a/src/test/java/ch/wisv/events/core/service/TicketServiceTest.java +++ b/src/test/java/ch/wisv/events/core/service/TicketServiceTest.java @@ -10,7 +10,6 @@ import ch.wisv.events.core.model.ticket.TicketStatus; import ch.wisv.events.core.repository.TicketRepository; import ch.wisv.events.core.service.event.EventService; -import ch.wisv.events.core.service.mail.MailService; import ch.wisv.events.core.service.ticket.TicketService; import ch.wisv.events.core.service.ticket.TicketServiceImpl; import ch.wisv.events.core.util.VatRate; @@ -50,10 +49,6 @@ public class TicketServiceTest extends ServiceTest { /** EventService. */ private EventService eventService; - /** MailService. */ - @Mock - private MailService mailService; - /** TicketService. */ private TicketService ticketService; @@ -71,7 +66,7 @@ public class TicketServiceTest extends ServiceTest { */ @Before public void setUp() { - ticketService = new TicketServiceImpl(ticketRepository, eventService, mailService); + ticketService = new TicketServiceImpl(ticketRepository, eventService); ticket1 = new Ticket(); ticket2 = new Ticket(); diff --git a/src/test/java/ch/wisv/events/core/service/TicketTransferTest.java b/src/test/java/ch/wisv/events/core/service/TicketTransferTest.java index 3acbfd12..b44c45a1 100644 --- a/src/test/java/ch/wisv/events/core/service/TicketTransferTest.java +++ b/src/test/java/ch/wisv/events/core/service/TicketTransferTest.java @@ -44,10 +44,6 @@ public class TicketTransferTest extends ServiceTest { /** EventService. */ private EventService eventService; - /** MailService. */ - @Mock - private MailService mailService; - /** TicketService. */ private TicketService ticketService; @@ -65,7 +61,7 @@ public class TicketTransferTest extends ServiceTest { */ @Before public void setUp() { - ticketService = new TicketServiceImpl(ticketRepository, eventService, mailService); + ticketService = new TicketServiceImpl(ticketRepository, eventService); customer1 = new Customer(); customer1.setVerifiedChMember(true);