Skip to content

Commit 29da316

Browse files
committed
fix links
1 parent 818f7f9 commit 29da316

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-functions/functions-dotnet-class-library.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,15 +573,15 @@ Don't set `telemetryClient.Context.Operation.Id`. This global setting causes inc
573573

574574
The following example describes how to create a C# Function app in Visual Studio and run and tests with [xUnit](https://github.com/xunit/xunit).
575575
576-
![Testing Azure Functions with C# in Visual Studio](../articles/azure-functions/media/functions-test-a-function/azure-functions-test-visual-studio-xunit.png)
576+
![Testing Azure Functions with C# in Visual Studio](./media/functions-test-a-function/azure-functions-test-visual-studio-xunit.png)
577577

578578
### Setup
579579

580580
To set up your environment, create a Function and test app. The following steps help you create the apps and functions required to support the tests:
581581

582-
1. [Create a new Functions app](../articles/azure-functions/functions-get-started.md) and name it **Functions**
583-
2. [Create an HTTP function from the template](../articles/azure-functions/functions-get-started.md) and name it **MyHttpTrigger**.
584-
3. [Create a timer function from the template](../articles/azure-functions/functions-create-scheduled-function.md) and name it **MyTimerTrigger**.
582+
1. [Create a new Functions app](functions-get-started.md) and name it **Functions**
583+
2. [Create an HTTP function from the template](functions-get-started.md) and name it **MyHttpTrigger**.
584+
3. [Create a timer function from the template](functions-create-scheduled-function.md) and name it **MyTimerTrigger**.
585585
4. [Create an xUnit Test app](https://xunit.net/docs/getting-started/netcore/cmdline) in the solution and name it **Functions.Tests**.
586586
5. Use NuGet to add a reference from the test app to [Microsoft.AspNetCore.Mvc](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc/)
587587
6. [Reference the *Functions* app](/visualstudio/ide/managing-references-in-a-project) from *Functions.Tests* app.
@@ -794,13 +794,13 @@ The members implemented in this class are:
794794

795795
- **Timer_should_log_message**: This test creates an instance of `ListLogger` and passes it to a timer functions. Once the function is run, then the log is checked to ensure the expected message is present.
796796

797-
If you want to access application settings in your tests, you can [inject](../articles/azure-functions/functions-dotnet-dependency-injection.md) an `IConfiguration` instance with mocked environment variable values into your function.
797+
If you want to access application settings in your tests, you can [inject](functions-dotnet-dependency-injection.md) an `IConfiguration` instance with mocked environment variable values into your function.
798798

799799
### Run tests
800800

801801
To run the tests, navigate to the **Test Explorer** and click **Run all**.
802802

803-
![Testing Azure Functions with C# in Visual Studio](../articles/azure-functions/media/functions-test-a-function/azure-functions-test-visual-studio-xunit.png)
803+
![Testing Azure Functions with C# in Visual Studio](./media/functions-test-a-function/azure-functions-test-visual-studio-xunit.png)
804804

805805
### Debug tests
806806

0 commit comments

Comments
 (0)