summaryrefslogtreecommitdiff
path: root/integration-cli
diff options
context:
space:
mode:
authorTibor Vass <tiborvass@users.noreply.github.com>2016-03-22 20:31:10 -0400
committerTibor Vass <tiborvass@users.noreply.github.com>2016-03-22 20:31:10 -0400
commit7bc052ae0449139bc0d6f2002c62cd849fb098bf (patch)
tree510b8dbf6151e58dbc6e8e57b86a4932dea4cf25 /integration-cli
parentd0d17a069371663b6ad60b0edb5d9beb5d9a175b (diff)
parent37e2103e640861b02a1ea0253df749a527a87e1b (diff)
downloaddocker-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.go2
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 {