mirror of https://github.com/docker/docs.git
skip TestAuthApi if no network is available
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
17d5c97c90
commit
2fae3d2693
|
@ -10,6 +10,7 @@ import (
|
||||||
|
|
||||||
// Test case for #22244
|
// Test case for #22244
|
||||||
func (s *DockerSuite) TestAuthApi(c *check.C) {
|
func (s *DockerSuite) TestAuthApi(c *check.C) {
|
||||||
|
testRequires(c, Network)
|
||||||
config := types.AuthConfig{
|
config := types.AuthConfig{
|
||||||
Username: "no-user",
|
Username: "no-user",
|
||||||
Password: "no-password",
|
Password: "no-password",
|
||||||
|
|
Loading…
Reference in New Issue