From cd0cf4b74b55fceccb3fadcea814415951d87124 Mon Sep 17 00:00:00 2001 From: Adam Hopkins Date: Thu, 31 Aug 2023 20:17:12 +0300 Subject: [PATCH] Update clients.md --- src/en/plugins/sanic-testing/clients.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/plugins/sanic-testing/clients.md b/src/en/plugins/sanic-testing/clients.md index a0fad19f7e..bcd4183c96 100644 --- a/src/en/plugins/sanic-testing/clients.md +++ b/src/en/plugins/sanic-testing/clients.md @@ -67,7 +67,7 @@ Unlike the `SanicTestClient` that spins up a server on every request, the `Sanic This test client provides all of the same methods and generally works as the `SanicTestClient`. The only difference is that you will need to add an `await` to each call: :--: ```python -await app.test_client.get("/path/to/endpoint") +await app.asgi_client.get("/path/to/endpoint") ``` :---