Skip to content

Commit 43badb2

Browse files
committed
Fix file names
Signed-off-by: David Calavera <[email protected]>
1 parent 693a839 commit 43badb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lambda-http/src/request.rs

+3-3
Original file line numberDiff line numberDiff 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(),

0 commit comments

Comments
 (0)