getRequest: Modify test to support requestTypeId
Now that requestTypeId parameter is valid, one of these tests should use it.
This commit is contained in:
parent
1760f60759
commit
5b8453d9ae
1 changed files with 2 additions and 2 deletions
|
@ -387,8 +387,8 @@ is($tt->{requestConfiguration}, 'Small', "getRequest: configuration is correct."
|
|||
is($tt->{notes}, 'he probably needs a larger size but this shirt has none',
|
||||
"getRequest: notes are correct.");
|
||||
|
||||
lives_ok { $tt = $sp->getRequest({donorId => $drapperId, requestType => 't-shirt-0' } ); }
|
||||
"getRequest: succeeds with valid parameters.";
|
||||
lives_ok { $tt = $sp->getRequest({donorId => $drapperId, requestTypeId => $tShirt0RequestTypeId } ); }
|
||||
"getRequest: succeeds with valid parameters, using requestTypeId.";
|
||||
|
||||
is($tt->{requestType}, 't-shirt-0', "getRequest: requestType is correct.");
|
||||
is($tt->{requestDate}, $today, "getRequest: request date is today.");
|
||||
|
|
Loading…
Reference in a new issue