Merge pull request #273 from fkautz/pr_out_fix_build_break

This commit is contained in:
Andrea Luzzardi 2021-04-04 20:25:09 -07:00 committed by GitHub
commit 76f9c5824a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ func TestStoreLookupByPath(t *testing.T) {
otherSt := &DeploymentState{
Name: "test2",
}
require.NoError(t, otherSt.AddInput("foo", DirInput("/test/anotherpath", []string{})))
require.NoError(t, otherSt.SetInput("foo", DirInput("/test/anotherpath", []string{})))
require.NoError(t, store.CreateDeployment(ctx, otherSt))
// Lookup by path should return both deployments