getRequest: test documentation better detailed
Add a bit more detail in the test description to note we're using requestType, not requestTypeId parameter in this test.
This commit is contained in:
parent
5b8453d9ae
commit
d6ce8225d9
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ lives_ok { $tt = $sp->getRequest({ donorId => $drapperId, requestType => 'this-o
|
|||
is($tt, undef, "getRequest: returns undef for valid supporter and on-existent request.");
|
||||
|
||||
lives_ok { $tt = $sp->getRequest({donorId => $drapperId, requestType => 't-shirt-small-only' }); }
|
||||
"getRequest: succeeds with valid parameters.";
|
||||
"getRequest: succeeds with valid parameters, using requestType.";
|
||||
|
||||
is($tt->{requestType}, 't-shirt-small-only', "getRequest: requestType is correct.");
|
||||
is($tt->{fulfillDate}, $today, "getRequest: fulfilled request is today.");
|
||||
|
|
Loading…
Reference in a new issue