🌐 Update typo in Chinese translation for `docs/zh/docs/advanced/testing-dependencies.md` (#11944)

This commit is contained in:
白宦成 2024-08-05 01:01:03 +08:00 committed by GitHub
parent 553816ae6a
commit b1774bae1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
### 使用 `app.dependency_overrides` 属性
对于这些用例,**FastAPI** 应用支持 `app.dependcy_overrides` 属性,该属性就是**字典**。
对于这些用例,**FastAPI** 应用支持 `app.dependency_overrides` 属性,该属性就是**字典**。
要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。