-
-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,7 +149,7 @@ public void testTicketSelection() { | |
|
||
assertEquals(0, ticketReservationManager.getPendingPayments(event).size()); | ||
|
||
PaymentResult confirm = ticketReservationManager.confirm(null, event.getEvent(), reservationId, "[email protected]", "full name", Locale.ENGLISH, "billing address", | ||
PaymentResult confirm = ticketReservationManager.confirm(null, null, event.getEvent(), reservationId, "[email protected]", "full name", Locale.ENGLISH, "billing address", | ||
totalPrice, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false); | ||
|
||
|
||
|
@@ -172,7 +172,7 @@ public void testTicketSelection() { | |
TicketReservationWithOptionalCodeModification modForDelete = new TicketReservationWithOptionalCodeModification(trForDelete, Optional.<SpecialPrice>empty()); | ||
String reservationId2 = ticketReservationManager.createTicketReservation(event.getId(), Collections.singletonList(modForDelete), Collections.emptyList(), DateUtils.addDays(new Date(), 1), Optional.<String>empty(), Optional.<String>empty(), Locale.ENGLISH, false); | ||
|
||
ticketReservationManager.confirm(null, event.getEvent(), reservationId2, "[email protected]", "full name", Locale.ENGLISH, "billing address", | ||
ticketReservationManager.confirm(null, null, event.getEvent(), reservationId2, "[email protected]", "full name", Locale.ENGLISH, "billing address", | ||
totalPrice, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false); | ||
|
||
assertTrue(ticketReservationManager.findById(reservationId2).isPresent()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -292,7 +292,7 @@ public void testUpdateGender() { | |
TicketReservationWithOptionalCodeModification r = new TicketReservationWithOptionalCodeModification(trm, Optional.empty()); | ||
Date expiration = DateUtils.addDays(new Date(), 1); | ||
String reservationId = ticketReservationManager.createTicketReservation(event.getId(), Collections.singletonList(r), Collections.emptyList(), expiration, Optional.empty(), Optional.empty(), Locale.ENGLISH, false); | ||
ticketReservationManager.confirm("TOKEN", event, reservationId, "[email protected]", "full name", Locale.ENGLISH, null, new TicketReservationManager.TotalPrice(1000, 10, 0, 0), Optional.empty(), Optional.of(PaymentProxy.ON_SITE), false); | ||
ticketReservationManager.confirm("TOKEN", null, event, reservationId, "[email protected]", "full name", Locale.ENGLISH, null, new TicketReservationManager.TotalPrice(1000, 10, 0, 0), Optional.empty(), Optional.of(PaymentProxy.ON_SITE), false); | ||
List<Ticket> tickets = ticketRepository.findTicketsInReservation(reservationId); | ||
UpdateTicketOwnerForm first = new UpdateTicketOwnerForm(); | ||
first.setEmail("[email protected]"); | ||
|