~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/api/uniter/uniter_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                s.controllerMachine = testing.AddControllerMachine(c, s.State)
46
46
        }
47
47
 
48
 
        // Bind wordpress:db to space "internal"
 
48
        // Bind "db" relation of wordpress to space "internal",
 
49
        // and the "admin-api" extra-binding to space "public".
49
50
        bindings := map[string]string{
50
 
                "db": "internal",
 
51
                "db":        "internal",
 
52
                "admin-api": "public",
51
53
        }
52
54
        _, err := s.State.AddSpace("internal", "", nil, false)
53
55
        c.Assert(err, jc.ErrorIsNil)