|
@@ -4,14 +4,14 @@ import (
|
|
|
"net/http"
|
|
"net/http"
|
|
|
|
|
|
|
|
"github.com/coreos/etcd/store"
|
|
"github.com/coreos/etcd/store"
|
|
|
- "github.com/coreos/go-raft"
|
|
|
|
|
|
|
+ "github.com/coreos/etcd/third_party/github.com/coreos/raft"
|
|
|
"github.com/stretchr/testify/mock"
|
|
"github.com/stretchr/testify/mock"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
// A mock Server for the v2 handlers.
|
|
// A mock Server for the v2 handlers.
|
|
|
type ServerV2 struct {
|
|
type ServerV2 struct {
|
|
|
mock.Mock
|
|
mock.Mock
|
|
|
- store store.Store
|
|
|
|
|
|
|
+ store store.Store
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func NewServerV2(store store.Store) *ServerV2 {
|
|
func NewServerV2(store store.Store) *ServerV2 {
|