fix unit tests
This commit is contained in:
parent
d37896b94f
commit
ee097f9b70
|
|
@ -155,10 +155,7 @@ func Test_stageBuilder_shouldTakeSnapshot(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "not final stage not last command but empty list of files",
|
name: "not final stage not last command but empty list of files",
|
||||||
fields: fields{
|
fields: fields{
|
||||||
stage: config.KanikoStage{
|
stage: config.KanikoStage{},
|
||||||
Final: false,
|
|
||||||
Stage: stage,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
args: args{
|
args: args{
|
||||||
index: 0,
|
index: 0,
|
||||||
|
|
@ -172,7 +169,6 @@ func Test_stageBuilder_shouldTakeSnapshot(t *testing.T) {
|
||||||
fields: fields{
|
fields: fields{
|
||||||
stage: config.KanikoStage{
|
stage: config.KanikoStage{
|
||||||
Final: false,
|
Final: false,
|
||||||
Stage: stage,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
args: args{
|
args: args{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue