add TestPlanEngine to TestPlan as a observer
This commit is contained in:
parent
0d70c3e4ad
commit
65aec6550e
|
@ -128,6 +128,7 @@ public class TestPlanEngine implements TaskCompleteCallback,
|
|||
throws IllegalParameterException {
|
||||
TestPlan testPlan = this.getTestPlanFactory().createATestPlanWithoutId(
|
||||
testPlanBusinessModel, user, testPlanRunId);
|
||||
testPlan.addObserver(this);
|
||||
Logger.getLogger(TestPlanService.class).info(
|
||||
"test plan name:" + testPlan.getName());
|
||||
return this.getTestPlanRepository().attach(testPlan);
|
||||
|
|
Loading…
Reference in New Issue