Skip to content

Commit bcdf622

Browse files
committed
fix: update tests to reflect new cors behaviour
1 parent 91f9744 commit bcdf622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/functional/event_handler/test_api_gateway.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def test_custom_cors_config():
363363
def get_with_cors():
364364
return {}
365365

366-
@app.get("/another-one")
366+
@app.get("/another-one", cors=False)
367367
def another_one():
368368
return {}
369369

@@ -434,7 +434,7 @@ def foo_cors():
434434
def foo_delete_cors():
435435
...
436436

437-
@app.post("/foo")
437+
@app.post("/foo", cors=False)
438438
def post_no_cors():
439439
...
440440

0 commit comments

Comments
 (0)