Skip to content

Commit

Permalink
#464 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jun 26, 2018
1 parent bb8f4a9 commit e7db1ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void reservationFlowTest() throws Exception{


// check that the booking page is shown
String bookingPage = reservationController.showBookingPage(eventName, reservationIdentifier, null, null, null, null, null, null, null, null, null, null, null, null, null, new BindingAwareModelMap(), Locale.ENGLISH);
String bookingPage = reservationController.showBookingPage(eventName, reservationIdentifier, new BindingAwareModelMap(), Locale.ENGLISH);
assertEquals("/event/reservation-page", bookingPage);
//

Expand Down Expand Up @@ -514,6 +514,8 @@ private String payOffline(String eventName, String reservationIdentifier) {

reservationController.validateToOverview(eventName, reservationIdentifier, paymentForm, bindingResult, model, request, Locale.ENGLISH, redirectAttributes);

Assert.assertEquals("/event/overview", reservationController.showOverview(eventName, reservationIdentifier, null, null, null, null, Locale.ENGLISH, model));

return reservationController.handleReservation(eventName, reservationIdentifier, paymentForm, bindingResult, model, request, Locale.ENGLISH, redirectAttributes);
}

Expand Down

0 comments on commit e7db1ca

Please sign in to comment.