jboss-developer/ticket-monster — pull request #45 by paulrobinson (2013-11-07 16:13:13+00:00)
Title: Test issues

The updated tests seem to expect 2 results rather than 3. However, I'm pretty sure the expected number of results is 3. Try the following to see the three 'shows' being added to the DB:

cat demo/src/main/resources/import.sql| grep "event_id, venue_id) values ( 1,"
insert into Show ( event_id, venue_id) values ( 1, 1);
insert into Show ( event_id, venue_id) values ( 1, 2);
insert into Show ( event_id, venue_id) values ( 1, 5);

Note: "'Rock concert of the decade'" is the first event and gets PK of '1'.

I could be missing something of course. Maybe one of these shows was intended to be removed at some place in the application that I am missing?

I also added a commit to put some missing classes in the ShrinkWrap deployment.