diff --git a/actions/class.Runner.php b/actions/class.Runner.php index 0b9b0bca0..bf73c3755 100644 --- a/actions/class.Runner.php +++ b/actions/class.Runner.php @@ -73,9 +73,6 @@ class taoQtiTest_actions_Runner extends tao_actions_ServiceModule { use RunnerToolStates; - // @todo Move this somewhere else - public const PAUSE_REASON_CONCURRENT_TEST = 'PAUSE_REASON_CONCURRENT_TEST'; - /** * The current test session * @var QtiRunnerServiceContext @@ -334,7 +331,7 @@ public function init() $this->setSessionAttribute( 'pauseReason', - self::PAUSE_REASON_CONCURRENT_TEST + PauseService::PAUSE_REASON_CONCURRENT_TEST ); $this->getRunnerService()->pause($testContext); diff --git a/model/Service/PauseService.php b/model/Service/PauseService.php index f6fc800dd..11e50daf0 100644 --- a/model/Service/PauseService.php +++ b/model/Service/PauseService.php @@ -30,6 +30,8 @@ class PauseService { + public const PAUSE_REASON_CONCURRENT_TEST = 'PAUSE_REASON_CONCURRENT_TEST'; + /** @var RunnerService */ private $runnerService;