mirror of https://github.com/docker/docs.git
Merge pull request #16781 from HofmeisterAn/patch-1
fix: Pin Testcontainers for .NET version
This commit is contained in:
commit
d1de275d4b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue