Skip to content

Commit

Permalink
Fix failing test: make sure the threadlocal authenticated user id is …
Browse files Browse the repository at this point in the history
…reset
  • Loading branch information
jbarrez committed Jul 14, 2023
1 parent ca614c4 commit ce62be8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
import org.flowable.cmmn.engine.test.impl.CmmnTestHelper;
import org.flowable.cmmn.engine.test.impl.CmmnTestRunner;
import org.flowable.common.engine.impl.history.HistoryLevel;
import org.flowable.common.engine.impl.identity.Authentication;
import org.flowable.task.api.Task;
import org.junit.After;
import org.junit.runner.RunWith;
Expand Down Expand Up @@ -90,6 +91,7 @@ public void cleanup() {
}
}
autoCleanupDeploymentIds = new HashSet<>();
Authentication.setAuthenticatedUserId(null);
}

protected void deployOneHumanTaskCaseModel() {
Expand Down

0 comments on commit ce62be8

Please sign in to comment.