open-vault/vault/testing_util.go

15 lines
504 B
Go
Raw Normal View History

2018-09-18 03:03:00 +00:00
// +build !enterprise
package vault
import (
testing "github.com/mitchellh/go-testing-interface"
)
2018-09-18 03:03:00 +00:00
func testGenerateCoreKeys() (interface{}, interface{}, error) { return nil, nil, nil }
func testGetLicensingConfig(interface{}) *LicensingConfig { return &LicensingConfig{} }
func testExtraClusterCoresTestSetup(testing.T, interface{}, []*TestClusterCore) {}
func testAdjustTestCore(_ *CoreConfig, tcc *TestClusterCore) {
tcc.UnderlyingStorage = tcc.physical
}