fix: Pin Testcontainers for .NET version

This commit is contained in:
Andre Hofmeister 2023-02-27 09:20:44 +01:00
parent 5fb6e210a6
commit b30aa0d9fa
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ $ dotnet new xunit -n myWebApp.Tests -o tests
Next, we'll update the test project and add the Testcontainers for .NET package that allows us to run tests against Docker resources. Switch to the `tests` directory and run the following command: Next, we'll update the test project and add the Testcontainers for .NET package that allows us to run tests against Docker resources. Switch to the `tests` directory and run the following command:
```console ```console
$ dotnet add package Testcontainers $ dotnet add package Testcontainers --version 2.3.0
``` ```
## Add a test ## Add a test