diff --git a/pkg/skaffold/build/cache/lookup_test.go b/pkg/skaffold/build/cache/lookup_test.go index 2bd49cd8c38..0ade9360ec2 100644 --- a/pkg/skaffold/build/cache/lookup_test.go +++ b/pkg/skaffold/build/cache/lookup_test.go @@ -37,7 +37,9 @@ func TestLookupLocal(t *testing.T) { }{ { description: "miss", - hasher: mockHasher("thehash"), + hasher: mockHasher("hash"), + api: &testutil.FakeAPIClient{}, + cache: map[string]ImageDetails{}, expected: needsBuilding{hash: "thehash"}, }, {