Parameter here is "notes", not "note"

This commit is contained in:
Bradley M. Kuhn 2015-12-20 15:15:39 -08:00
parent da396611fc
commit c8bbcc05e4

View file

@ -273,7 +273,7 @@ my $tshirtSmallRequestId;
lives_ok { $tshirtSmallRequestId = lives_ok { $tshirtSmallRequestId =
$sp->addRequest({ supporterId => $drapperId, requestType => "t-shirt-small-only", $sp->addRequest({ supporterId => $drapperId, requestType => "t-shirt-small-only",
requestConfiguration => 'Small', requestConfiguration => 'Small',
note => 'he probably needs a larger size but this shirt has none'}); } notes => 'he probably needs a larger size but this shirt has none'}); }
"addRequest: succeeds with a requestType and requestConfiguration and a note."; "addRequest: succeeds with a requestType and requestConfiguration and a note.";
ok( (defined $tshirtSmallRequestId and looks_like_number($tshirtSmallRequestId) and $tshirtSmallRequestId > 0), ok( (defined $tshirtSmallRequestId and looks_like_number($tshirtSmallRequestId) and $tshirtSmallRequestId > 0),