diff --git a/manager/manager/manager_test.go b/manager/manager/manager_test.go index a52e73d55..d0e59efda 100644 --- a/manager/manager/manager_test.go +++ b/manager/manager/manager_test.go @@ -6,7 +6,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -23,6 +23,7 @@ import ( "testing" "github.com/kubernetes/deployment-manager/common" + "github.com/kubernetes/deployment-manager/registry" ) var template = common.Template{Name: "test", Content: "test"} @@ -251,7 +252,8 @@ func (r *repositoryStub) SetTypeInstances(d string, is map[string][]*common.Type var testExpander = &expanderStub{} var testRepository = newRepositoryStub() var testDeployer = newDeployerStub() -var testManager = NewManager(testExpander, testDeployer, testRepository) +var testRegistryService = registry.NewInmemRepositoryService() +var testManager = NewManager(testExpander, testDeployer, testRepository, testRegistryService) func TestListDeployments(t *testing.T) { testRepository.reset()