diff --git a/aspnet/mvc/controllers/dependency-injection.rst b/aspnet/mvc/controllers/dependency-injection.rst index 5d6fbb9220..87073e8616 100644 --- a/aspnet/mvc/controllers/dependency-injection.rst +++ b/aspnet/mvc/controllers/dependency-injection.rst @@ -65,7 +65,7 @@ Once the service has been configured, running the application and navigating to .. image:: dependency-injection/_static/server-greeting.png -.. tip:: See `Unit Testing `_ to learn how to explicitly request dependencies `_ in controllers makes code easier to test. +.. tip:: See :doc:`https://docs.asp.net/en/latest/mvc/controllers/testing.html` to learn how to explicitly request dependencies `_ in controllers makes code easier to test. ASP.NET Core's built-in dependency injection supports having only a single constructor for classes requesting services. If you have more than one constructor, you may get an exception stating::