Fix RedisPersistTests

- Fixing a simple type in an origin changes
  which caused this test to fail.
- Relates #744
This commit is contained in:
Janne Valkealahti
2019-05-13 19:47:08 +01:00
parent c11a1957f3
commit 99568472b1

View File

@@ -95,7 +95,7 @@ public class RedisPersistTests extends AbstractBuildTests {
stateMachine = persister.restore(stateMachine, "xxx2");
assertThat(stateMachine.getId(), is("testid"));
assertThat(stateMachine.getState().getIds(), containsInAnyOrder(TestStates.S2, TestStates.S21, TestStates.S30));
doSendEventAndConsumeAll(stateMachine, TestEvents.E4);
doSendEventAndConsumeAll(stateMachine, TestEvents.E3);
assertThat(stateMachine.getState().getIds(), containsInAnyOrder(TestStates.S4));
stateMachine = stateMachineFactory.getStateMachine();