github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/apiserver/facades/controller/migrationtarget/package_test.go (about)

     1  // Copyright 2016 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package migrationtarget_test
     5  
     6  import (
     7  	stdtesting "testing"
     8  
     9  	"github.com/juju/juju/component/all"
    10  	"github.com/juju/juju/testing"
    11  )
    12  
    13  func TestAll(t *stdtesting.T) {
    14  	testing.MgoTestPackage(t)
    15  }
    16  
    17  func init() {
    18  	// Required for resources.
    19  	if err := all.RegisterForServer(); err != nil {
    20  		panic(err)
    21  	}
    22  }