fix unit tests

This commit is contained in:
Tejal Desai 2020-05-03 22:01:50 -07:00
parent d37896b94f
commit ee097f9b70
1 changed files with 1 additions and 5 deletions

View File

@ -155,10 +155,7 @@ func Test_stageBuilder_shouldTakeSnapshot(t *testing.T) {
{
name: "not final stage not last command but empty list of files",
fields: fields{
stage: config.KanikoStage{
Final: false,
Stage: stage,
},
stage: config.KanikoStage{},
},
args: args{
index: 0,
@ -172,7 +169,6 @@ func Test_stageBuilder_shouldTakeSnapshot(t *testing.T) {
fields: fields{
stage: config.KanikoStage{
Final: false,
Stage: stage,
},
},
args: args{