Merge pull request #16781 from HofmeisterAn/patch-1

fix: Pin Testcontainers for .NET version
This commit is contained in:
Craig Osterhout 2023-02-27 07:06:04 -08:00 committed by GitHub
commit d1de275d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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:
```console
$ dotnet add package Testcontainers
$ dotnet add package Testcontainers --version 2.3.0
```
## Add a test