open-vault/vault/testing_util.go

18 lines
572 B
Go
Raw Normal View History

2018-09-18 03:03:00 +00:00
// +build !enterprise
package vault
import (
"crypto/ed25519"
testing "github.com/mitchellh/go-testing-interface"
)
2018-09-18 03:03:00 +00:00
func GenerateTestLicenseKeys() (ed25519.PublicKey, ed25519.PrivateKey, error) { return nil, nil, nil }
func testGetLicensingConfig(key ed25519.PublicKey) *LicensingConfig { return &LicensingConfig{} }
func testExtraTestCoreSetup(testing.T, ed25519.PrivateKey, *TestClusterCore) {}
func testAdjustUnderlyingStorage(tcc *TestClusterCore) {
tcc.UnderlyingStorage = tcc.physical
}
func testApplyEntBaseConfig(coreConfig, base *CoreConfig) {}