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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/apiserver/admin_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
        "github.com/juju/loggo"
15
15
        jc "github.com/juju/testing/checkers"
16
16
        "github.com/juju/utils"
 
17
        "github.com/juju/utils/clock"
17
18
        gc "gopkg.in/check.v1"
18
19
        "gopkg.in/juju/names.v2"
19
20
 
572
573
                s.State,
573
574
                listener,
574
575
                apiserver.ServerConfig{
575
 
                        Cert:        []byte(coretesting.ServerCert),
576
 
                        Key:         []byte(coretesting.ServerKey),
 
576
                        Clock:       clock.WallClock,
 
577
                        Cert:        coretesting.ServerCert,
 
578
                        Key:         coretesting.ServerKey,
577
579
                        Validator:   validator,
578
580
                        Tag:         names.NewMachineTag("0"),
579
581
                        LogDir:      c.MkDir(),