Skip to content

Commit a1ba5a1

Browse files
Change heading to Controller
1 parent 9590ec7 commit a1ba5a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

14/umbraco-cms/implementation/unit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public class PageSurfaceControllerTests
159159
`ServiceContext.CreatePartial()` has optional parameters, and by naming them you only need to mock the dependencies that you need, for example: `ServiceContext.CreatePartial(contentService: Mock.Of<IContentService>());`
160160
{% endhint %}
161161

162-
## Testing an ApiController
162+
## Testing a Controller
163163

164164
See [Reference documentation on UmbracoApiControllers](../reference/routing/umbraco-api-controllers/README.md#locally-declared-controller).
165165

15/umbraco-cms/implementation/unit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public class PageSurfaceControllerTests
159159
`ServiceContext.CreatePartial()` has optional parameters, and by naming them you only need to mock the dependencies that you need, for example: `ServiceContext.CreatePartial(contentService: Mock.Of<IContentService>());`
160160
{% endhint %}
161161

162-
## Testing an ApiController
162+
## Testing a Controller
163163

164164
See [Reference documentation on UmbracoApiControllers](../reference/routing/umbraco-api-controllers/README.md#locally-declared-controller).
165165

0 commit comments

Comments
 (0)