Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Oct 2, 2023
1 parent a15ba76 commit a7cf076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -50,10 +49,6 @@ public class TicketServiceTest extends ServiceTest {
/** EventService. */
private EventService eventService;

/** MailService. */
@Mock
private MailService mailService;

/** TicketService. */
private TicketService ticketService;

Expand All @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ public class TicketTransferTest extends ServiceTest {
/** EventService. */
private EventService eventService;

/** MailService. */
@Mock
private MailService mailService;

/** TicketService. */
private TicketService ticketService;

Expand All @@ -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);
Expand Down

0 comments on commit a7cf076

Please sign in to comment.