Introduce secret factory.

This commit is contained in:
Jeffrey Regan
2018-07-20 10:01:58 -07:00
parent 82f2cf9124
commit 7f22f187f8
6 changed files with 88 additions and 65 deletions

View File

@@ -180,7 +180,9 @@ func TestResources1(t *testing.T) {
}),
}
l := makeLoader1(t)
app, err := NewApplication(l, fs.MakeFakeFS())
fakeFs := fs.MakeFakeFS()
fakeFs.Mkdir("/")
app, err := NewApplication(l, fakeFs)
if err != nil {
t.Fatalf("Unexpected construction error %v", err)
}