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

This commit is contained in:
白宦成 authored and GitHub committed 2024-08-04 12:01:03 -05:00
1 parent 553816ae6a
commit b1774bae1b
1 file changed
+1 -1
@@ -22,7 +22,7 @@
### 使用 `app.dependency_overrides` 属性
对于这些用例,**FastAPI** 应用支持 `app.dependcy_overrides` 属性,该属性就是**字典**。
对于这些用例,**FastAPI** 应用支持 `app.dependency_overrides` 属性,该属性就是**字典**。
要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。