File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ mod tests {
452452 fn deserializes_minimal_apigw_http_request_events ( ) {
453453 // from the docs
454454 // https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request
455- let input = include_str ! ( "../tests/data/apigw_http_proxy_request_minimal .json" ) ;
455+ let input = include_str ! ( "../tests/data/apigw_v2_proxy_request_minimal .json" ) ;
456456 let result = from_str ( input) ;
457457 assert ! (
458458 result. is_ok( ) ,
@@ -480,7 +480,7 @@ mod tests {
480480 fn deserializes_apigw_http_request_events ( ) {
481481 // from the docs
482482 // https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request
483- let input = include_str ! ( "../tests/data/apigw_http_proxy_request .json" ) ;
483+ let input = include_str ! ( "../tests/data/apigw_v2_proxy_request .json" ) ;
484484 let result = from_str ( input) ;
485485 assert ! (
486486 result. is_ok( ) ,
@@ -629,7 +629,7 @@ mod tests {
629629 // * Change the function code to return the Lambda event serialized
630630 // * sam local start-api
631631 // * Invoke the API
632- let input = include_str ! ( "../tests/data/apigw_http_sam_local .json" ) ;
632+ let input = include_str ! ( "../tests/data/apigw_v2_sam_local .json" ) ;
633633 let result = from_str ( input) ;
634634 assert ! (
635635 result. is_ok( ) ,
You can’t perform that action at this time.
0 commit comments