mark Workflow tests that test things that do not exist as TODO
This commit is contained in:
parent
15a498ca3a
commit
f601092435
1 changed files with 8 additions and 5 deletions
13
t/Workflow.t
13
t/Workflow.t
|
|
@ -61,11 +61,14 @@ my $actId = $activity->getId;
|
|||
ok(defined $actId, 'activity has an ID');
|
||||
is(scalar @{$wf2->getActivities}, 1, 'workflow has one activity');
|
||||
|
||||
# Mismatched activity with workflow.
|
||||
require WebGUI::Workflow::Activity::DecayKarma;
|
||||
my $badActivity = WebGUI::Workflow::Activity::DecayKarma->create($session, $wf2->getId);
|
||||
ok(!defined $badActivity, 'cannot create mismatched activity');
|
||||
is(scalar @{$wf->getActivities}, 1, 'workflow still has one activity');
|
||||
TODO: {
|
||||
local $TODO = "Tests that test things that do not work yet";
|
||||
# Mismatched activity with workflow.
|
||||
require WebGUI::Workflow::Activity::DecayKarma;
|
||||
my $badActivity = WebGUI::Workflow::Activity::DecayKarma->create($session, $wf2->getId);
|
||||
ok(!defined $badActivity, 'cannot create mismatched activity');
|
||||
is(scalar @{$wf->getActivities}, 1, 'workflow still has one activity');
|
||||
}
|
||||
|
||||
# TODO: test activities more, and crons
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue