fixed failing tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user