migrate some tests from errorHandler to log
This commit is contained in:
parent
f41d53aa90
commit
1d4810f6b5
2 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ ok(!isIn($wfId, keys %{WebGUI::Workflow->getList($session)}), 'workflow not in e
|
|||
$wf->set({enabled => 1});
|
||||
ok($wf->get('enabled'), 'workflow is enabled');
|
||||
ok(isIn($wfId, keys %{WebGUI::Workflow->getList($session)}), 'workflow in enabled list');
|
||||
$session->errorHandler->warn('Interesting');
|
||||
$session->log->warn('Interesting');
|
||||
$wf->set({enabled => 0});
|
||||
ok(!$wf->get('enabled'), 'workflow is disabled again');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue