Browse code

test: Do not check error message from hub, it is not needed

Signed-off-by: Tibor Vass <tibor@docker.com>

Tibor Vass authored on 2016/03/24 03:11:44
Showing 1 changed files
... ...
@@ -653,7 +653,6 @@ func (s *DockerSuite) TestPushToCentralRegistryUnauthorized(c *check.C) {
653 653
 	out, _, err := dockerCmdWithError("push", repoName)
654 654
 	c.Assert(err, check.NotNil, check.Commentf(out))
655 655
 	c.Assert(out, check.Not(checker.Contains), "Retrying")
656
-	c.Assert(out, checker.Contains, "unauthorized: authentication required")
657 656
 }
658 657
 
659 658
 func getTestTokenService(status int, body string) *httptest.Server {