Skip to content

Commit

Permalink
chore: fix tests in pkg/executor after 30ddbe5
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstcn committed May 17, 2024
1 parent 52c193e commit 801deae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/executor/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) {
}

fc1 := util.FileContext{Root: "workspace"}
dockerCommand1, err := commands.GetCommand(instructions1[0], fc1, false, true, true)
dockerCommand1, err := commands.GetCommand(instructions1[0], fc1, false, true, true, nil)
if err != nil {
t.Fatal(err)
}
Expand All @@ -887,7 +887,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) {
}

fc2 := util.FileContext{Root: "workspace"}
dockerCommand2, err := commands.GetCommand(instructions[0], fc2, false, true, true)
dockerCommand2, err := commands.GetCommand(instructions[0], fc2, false, true, true, nil)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -1558,6 +1558,7 @@ func getCommands(fileContext util.FileContext, cmds []instructions.Command, cach
false,
cacheCopy,
cacheRun,
nil,
)
if err != nil {
panic(err)
Expand Down Expand Up @@ -1653,7 +1654,7 @@ func Test_stageBuild_populateCompositeKeyForCopyCommand(t *testing.T) {
}

fc := util.FileContext{Root: "workspace"}
copyCommand, err := commands.GetCommand(instructions[0], fc, false, true, true)
copyCommand, err := commands.GetCommand(instructions[0], fc, false, true, true, nil)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 801deae

Please sign in to comment.