diff options
| author | Tibor Vass <tiborvass@users.noreply.github.com> | 2016-03-22 20:31:10 -0400 |
|---|---|---|
| committer | Tibor Vass <tiborvass@users.noreply.github.com> | 2016-03-22 20:31:10 -0400 |
| commit | 7bc052ae0449139bc0d6f2002c62cd849fb098bf (patch) | |
| tree | 510b8dbf6151e58dbc6e8e57b86a4932dea4cf25 /integration-cli | |
| parent | d0d17a069371663b6ad60b0edb5d9beb5d9a175b (diff) | |
| parent | 37e2103e640861b02a1ea0253df749a527a87e1b (diff) | |
| download | docker-7bc052ae0449139bc0d6f2002c62cd849fb098bf.tar.gz | |
Merge pull request #21411 from mlaventure/fix-unauth-to-central
Update TestPushToCentralRegistryUnauthorized to match updated hub
Diffstat (limited to 'integration-cli')
| -rw-r--r-- | integration-cli/docker_cli_push_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-cli/docker_cli_push_test.go b/integration-cli/docker_cli_push_test.go index 6459cc031a..e390d8e52f 100644 --- a/integration-cli/docker_cli_push_test.go +++ b/integration-cli/docker_cli_push_test.go @@ -653,7 +653,7 @@ func (s *DockerSuite) TestPushToCentralRegistryUnauthorized(c *check.C) { out, _, err := dockerCmdWithError("push", repoName) c.Assert(err, check.NotNil, check.Commentf(out)) c.Assert(out, check.Not(checker.Contains), "Retrying") - c.Assert(out, checker.Contains, "unauthorized: access to the requested resource is not authorized") + c.Assert(out, checker.Contains, "unauthorized: authentication required") } func getTestTokenService(status int, body string) *httptest.Server { |
