// Create a new test fixture that spins up a local Consul server. func NewConsulTestFixture(t *testing.T) *ConsulTestFixture { f := new(ConsulTestFixture) f.Fixture = consulutil.NewFixture(t) f.Store = NewConsulStore(f.Client) return f }
func makeStore(t *testing.T) (Store, consulutil.Fixture) { f := consulutil.NewFixture(t) store := kp.NewConsulStore(f.Client) return store, f }