Put the two sets of configmap make codes sidebyside

This commit is contained in:
Jeffrey Regan
2018-07-19 18:11:13 -07:00
parent ff4a1c0b4f
commit 9576a81787
6 changed files with 127 additions and 124 deletions

View File

@@ -136,8 +136,8 @@ func TestConstructConfigMap(t *testing.T) {
for _, tc := range testCases {
// TODO: all tests should use a FakeFs
fSys := fs.MakeRealFS()
f := NewConfigMapFactory(&tc.input, fSys)
cm, err := f.MakeConfigMap()
f := NewConfigMapFactory(&tc.input, fSys, nil)
cm, err := f.MakeConfigMap1()
if err != nil {
t.Fatalf("unexpected error: %v", err)
}