Skip to content

Commit 4e1a654

Browse files
committed
fix: remove leftover order from middleware order test
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
1 parent 3832817 commit 4e1a654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/event_handler/test_api_middlewares.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ def dummy_route():
388388
# followed by include_router
389389

390390
router.use([global_router_middleware]) # mimics App importing Router
391-
app.include_router(router)
392391
app.use([global_app_middleware])
392+
app.include_router(router)
393393

394394
# THEN resolving a request should start processing global Router middlewares first
395395
# due to insertion order

0 commit comments

Comments
 (0)