Skip to content

Commit

Permalink
rest api: waiting list subs #588
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jun 12, 2019
1 parent db5a5ff commit fd7dff9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ public void reservationFlowTest() throws Exception {
//

subForm.setEmail("[email protected]");
//subRes = eventApiV2Controller.subscribeToWaitingList(event.getShortName(), subForm, new BeanPropertyBindingResult(subForm, "subForm"));
//assertEquals(HttpStatus.OK, subRes.getStatusCode());
//assertTrue(subRes.getBody().isSuccess());
//assertEquals(0, subRes.getBody().getErrorCount());
//assertTrue(subRes.getBody().getValue());
subRes = eventApiV2Controller.subscribeToWaitingList(event.getShortName(), subForm, new BeanPropertyBindingResult(subForm, "subForm"));
assertEquals(HttpStatus.OK, subRes.getStatusCode());
assertTrue(subRes.getBody().isSuccess());
assertEquals(0, subRes.getBody().getErrorCount());
assertTrue(subRes.getBody().getValue());

//
ticketCategoryRepository.fixDates(visibleCat.getId(), tc.getInception(event.getZoneId()).minusDays(2), tc.getExpiration(event.getZoneId()));
Expand Down

0 comments on commit fd7dff9

Please sign in to comment.