mirror of
https://github.com/docker/compose.git
synced 2026-06-24 18:18:27 +00:00
tests: Fix logout test on Windows
The macOS/Linux output when logging out from a registry that you're not logged into is different to that of Windows. As the login test doesn't really test if the registry login works, the test now just checks that the command is properly parsed. Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
parent
45604a6350
commit
eac315c6ec
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ func (s *E2eSuite) TestClassicLogin() {
|
|||
Expect(output).To(ContainSubstring("Cannot perform an interactive login from a non TTY device"))
|
||||
Expect(err).NotTo(BeNil())
|
||||
output, err = s.NewDockerCommand("logout", "someregistry.docker.io").Exec()
|
||||
Expect(output).To(ContainSubstring("Removing login credentials for someregistry.docker.io"))
|
||||
Expect(output).To(ContainSubstring("someregistry.docker.io"))
|
||||
Expect(err).To(BeNil())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue