mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use testEnv methods and remove most of the global variables
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
a7c3389a82
commit
c8016e669f
40 changed files with 180 additions and 231 deletions
|
@ -65,7 +65,7 @@ type authorizationController struct {
|
|||
|
||||
func (s *DockerAuthzSuite) SetUpTest(c *check.C) {
|
||||
s.d = daemon.New(c, dockerBinary, dockerdBinary, daemon.Config{
|
||||
Experimental: experimentalDaemon,
|
||||
Experimental: testEnv.ExperimentalDaemon(),
|
||||
})
|
||||
s.ctrl = &authorizationController{}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue