| Index: scheduler/appengine/catalog/catalog_test.go
|
| diff --git a/scheduler/appengine/catalog/catalog_test.go b/scheduler/appengine/catalog/catalog_test.go
|
| index 4de165c7d5477288fac9e023c2fb2408e1228454..7a2295d3f4efe6814afdb0933a9bb6331480f492 100644
|
| --- a/scheduler/appengine/catalog/catalog_test.go
|
| +++ b/scheduler/appengine/catalog/catalog_test.go
|
| @@ -12,8 +12,8 @@ import (
|
| "golang.org/x/net/context"
|
| "google.golang.org/api/pubsub/v1"
|
|
|
| - "github.com/luci/luci-go/common/config"
|
| memcfg "github.com/luci/luci-go/common/config/impl/memory"
|
| + "github.com/luci/luci-go/luci_config/server/cfgclient/backend/testconfig"
|
|
|
| "github.com/luci/luci-go/scheduler/appengine/messages"
|
| "github.com/luci/luci-go/scheduler/appengine/task"
|
| @@ -173,7 +173,7 @@ func TestTaskMarshaling(t *testing.T) {
|
|
|
| func TestConfigReading(t *testing.T) {
|
| Convey("with mocked config", t, func() {
|
| - ctx := config.SetImplementation(context.Background(), memcfg.New(mockedConfigs))
|
| + ctx := testconfig.WithCommonClient(context.Background(), memcfg.New(mockedConfigs))
|
| cat := New("scheduler.cfg")
|
| cat.RegisterTaskManager(fakeTaskManager{
|
| name: "noop",
|
|
|