Skip to content

Commit

Permalink
fixed TestSecurityAdvanced: createAllowDenyTask was traced (wrong)
Browse files Browse the repository at this point in the history
Mistake on my part, perhaps hasty autocomplete. Traced task does not
clean-up FATAL_ERROR results under otherwise SUCCESS results and this
caused the test to fail on result assertion.
  • Loading branch information
virgo47 committed Feb 29, 2020
1 parent 71030c4 commit 746225c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6315,7 +6315,7 @@ protected <O extends ObjectType> void assertDeleteAllow(Class<O> type, String oi
}

private Task createAllowDenyTask(String opname) {
Task task = createTracedTask("createAllowDenyTask." + opname);
Task task = createTask("createAllowDenyTask." + opname);
task.setOwner(getSecurityContextPrincipalFocus());
task.setChannel(SchemaConstants.CHANNEL_GUI_USER_URI);
return task;
Expand Down

0 comments on commit 746225c

Please sign in to comment.