open-vault/vault/testing_util.go

15 lines
483 B
Go

// +build !enterprise
package vault
import (
testing "github.com/mitchellh/go-testing-interface"
)
func testGenerateCoreKeys() (interface{}, interface{}, error) { return nil, nil, nil }
func testGetLicensingConfig(interface{}) *LicensingConfig { return &LicensingConfig{} }
func testExtraTestCoreSetup(testing.T, interface{}, *TestClusterCore) {}
func testAdjustUnderlyingStorage(_ *CoreConfig, tcc *TestClusterCore) {
tcc.UnderlyingStorage = tcc.physical
}