Tests: clearly should be ok(), not is().
This was a Boolean test, so it clearly should be ok(), not an is().
This commit is contained in:
parent
faf1a239a4
commit
a3ea7a58df
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ lives_ok { $newFRID = $sp->fulfillRequest( { donorId => $drapperId,
|
||||||
how => "mailed" }); }
|
how => "mailed" }); }
|
||||||
"fulfillRequest: succeeds once the request is no longer on hold...";
|
"fulfillRequest: succeeds once the request is no longer on hold...";
|
||||||
|
|
||||||
is( (defined $newFRID and looks_like_number($newFRID) and $newFRID > 0 and ($newFRID != $fulfillRequestId)),
|
ok( (defined $newFRID and looks_like_number($newFRID) and $newFRID > 0 and ($newFRID != $fulfillRequestId)),
|
||||||
"....id returned on successful fulfillRequest() is a number and is not the one returned by previous");
|
"....id returned on successful fulfillRequest() is a number and is not the one returned by previous");
|
||||||
|
|
||||||
lives_ok { $tt = $sp->getRequest({donorId => $drapperId, requestTypeId => $tShirt0RequestTypeId } ); }
|
lives_ok { $tt = $sp->getRequest({donorId => $drapperId, requestTypeId => $tShirt0RequestTypeId } ); }
|
||||||
|
|
Loading…
Reference in a new issue