fixed failing tests

This commit is contained in:
Keith Donald
2008-04-25 12:14:19 +00:00
parent f3ba956b13
commit b8151d133f
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ public class BookingFlowExecutionTests extends AbstractXmlFlowExecutionTests {
public void testReviewBooking_Confirm() {
setCurrentState("reviewBooking");
getFlowScope().put("booking", createTestBooking());
getFlowScope().put("entityManager", new Object() {
getFlowScope().put("persistenceContext", new Object() {
public void persist(Booking booking) {
persistCalled = true;
}

View File

@@ -64,7 +64,7 @@ public class BookingFlowExecutionTests extends AbstractXmlFlowExecutionTests {
public void testReviewBooking_Confirm() {
setCurrentState("reviewBooking");
getFlowScope().put("booking", createTestBooking());
getFlowScope().put("entityManager", new Object() {
getFlowScope().put("persistenceContext", new Object() {
public void persist(Booking booking) {
persistCalled = true;
}