Skip to content

Commit

Permalink
fix: update tests to reflect new cors behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed May 5, 2021
1 parent 91f9744 commit bcdf622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/event_handler/test_api_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def test_custom_cors_config():
def get_with_cors():
return {}

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

Expand Down Expand Up @@ -434,7 +434,7 @@ def foo_cors():
def foo_delete_cors():
...

@app.post("/foo")
@app.post("/foo", cors=False)
def post_no_cors():
...

Expand Down

0 comments on commit bcdf622

Please sign in to comment.