-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#419 - log terms and conditions / privacy policy acceptance
(cherry picked from commit 405860e)
- Loading branch information
Showing
8 changed files
with
38 additions
and
24 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
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 |
---|---|---|
|
@@ -172,7 +172,7 @@ public void testTicketSelection() { | |
assertEquals(0, ticketReservationManager.getPendingPayments(event).size()); | ||
|
||
PaymentResult confirm = ticketReservationManager.confirm(null, null, event, reservationId, "[email protected]", new CustomerName("full name", "full", "name", event), Locale.ENGLISH, "billing address", "reference", | ||
totalPrice, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null); | ||
totalPrice, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null, false, false); | ||
|
||
|
||
assertTrue(confirm.isSuccessful()); | ||
|
@@ -207,7 +207,7 @@ public void testTicketSelection() { | |
String reservationId2 = ticketReservationManager.createTicketReservation(event, Collections.singletonList(modForDelete), Collections.emptyList(), DateUtils.addDays(new Date(), 1), Optional.empty(), Optional.empty(), Locale.ENGLISH, false); | ||
|
||
ticketReservationManager.confirm(null, null, event, reservationId2, "[email protected]", new CustomerName("full name", "full", "name", event), Locale.ENGLISH, "billing address", "reference", | ||
totalPrice, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null); | ||
totalPrice, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null, false, false); | ||
|
||
assertTrue(ticketReservationManager.findById(reservationId2).isPresent()); | ||
|
||
|
@@ -359,15 +359,15 @@ public void testDeletePendingPaymentUnboundedCategory() { | |
TicketReservationWithOptionalCodeModification mod = new TicketReservationWithOptionalCodeModification(tr, Optional.empty()); | ||
String reservationId = ticketReservationManager.createTicketReservation(event, Collections.singletonList(mod), Collections.emptyList(), DateUtils.addDays(new Date(), 1), Optional.empty(), Optional.empty(), Locale.ENGLISH, false); | ||
TotalPrice reservationCost = ticketReservationManager.totalReservationCostWithVAT(reservationId); | ||
PaymentResult result = ticketReservationManager.confirm("", null, event, reservationId, "[email protected]", new CustomerName("full name", "full", "name", event), Locale.ENGLISH, "", "", reservationCost, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null); | ||
PaymentResult result = ticketReservationManager.confirm("", null, event, reservationId, "[email protected]", new CustomerName("full name", "full", "name", event), Locale.ENGLISH, "", "", reservationCost, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null, false, false); | ||
assertTrue(result.isSuccessful()); | ||
ticketReservationManager.deleteOfflinePayment(event, reservationId, false); | ||
waitingQueueManager.distributeSeats(event); | ||
|
||
mod = new TicketReservationWithOptionalCodeModification(tr, Optional.empty()); | ||
reservationId = ticketReservationManager.createTicketReservation(event, Collections.singletonList(mod), Collections.emptyList(), DateUtils.addDays(new Date(), 1), Optional.empty(), Optional.empty(), Locale.ENGLISH, false); | ||
reservationCost = ticketReservationManager.totalReservationCostWithVAT(reservationId); | ||
result = ticketReservationManager.confirm("", null, event, reservationId, "[email protected]", new CustomerName("full name", "full", "name", event), Locale.ENGLISH, "", "", reservationCost, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null); | ||
result = ticketReservationManager.confirm("", null, event, reservationId, "[email protected]", new CustomerName("full name", "full", "name", event), Locale.ENGLISH, "", "", reservationCost, Optional.empty(), Optional.of(PaymentProxy.OFFLINE), false, null, null, null, false, false); | ||
assertTrue(result.isSuccessful()); | ||
} | ||
} |
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
Oops, something went wrong.