Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Apr 27, 2020
1 parent 6ec0494 commit 9fc4706
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/skaffold/build/cache/lookup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func TestLookupLocal(t *testing.T) {
{
description: "miss",
hasher: mockHasher("thehash"),
api: &testutil.FakeAPIClient{},
cache: map[string]ImageDetails{},
expected: needsBuilding{hash: "thehash"},
},
{
Expand Down Expand Up @@ -134,6 +136,8 @@ func TestLookupRemote(t *testing.T) {
{
description: "miss",
hasher: mockHasher("hash"),
api: &testutil.FakeAPIClient{ErrImagePull: true},
cache: map[string]ImageDetails{},
expected: needsBuilding{hash: "hash"},
},
{
Expand Down

0 comments on commit 9fc4706

Please sign in to comment.