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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/cmd/juju/controller/showcontroller_test.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
        "github.com/juju/juju/api/base"
16
16
        "github.com/juju/juju/cmd/juju/controller"
17
 
        "github.com/juju/juju/core/description"
18
17
        "github.com/juju/juju/jujuclient"
19
18
        "github.com/juju/juju/jujuclient/jujuclienttesting"
 
19
        "github.com/juju/juju/permission"
20
20
        "github.com/juju/juju/testing"
21
21
)
22
22
 
346
346
        machines       map[string][]base.Machine
347
347
}
348
348
 
349
 
func (*fakeController) GetControllerAccess(user string) (description.Access, error) {
 
349
func (*fakeController) GetControllerAccess(user string) (permission.Access, error) {
350
350
        return "superuser", nil
351
351
}
352
352