Fix unreachable code in org.activiti.engine.test.api.event.DatabaseEventLoggerTest

Description

Code was changed in org.activiti.engine.test.api.event.DatabaseEventLoggerTest on 19Jul2014 that included changing the Activity complete values around what is now line 333.

It was:
// Activity Completed
If (i == 1 || i == 5 || i == 8 || i == 11) {
And it was changed to:
// Activity Completed
If (i == 2 || i == 7 || i == 10 || i == 13) {

Unfortunately the nested corresponding if conditions in the then block were not changed so the tests would never be executed.

I will submit a pull-request that will change the nested "If (i == x)" to the correct values.

Environment

None

Assignee

Tijs Rademakers

Reporter

David Malkovsky

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure