Skip to content

Commit

Permalink
Fix expected flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiel committed Oct 9, 2024
1 parent 974aee2 commit 1aeed8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/image-builder/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func TestFlags(t *testing.T) {
configPath: "/config/image-builder-config.yaml",
dockerfile: "dockerfile",
logDir: "/logs/artifacts",
tagsOutputFile: "/tmp/generated-tags.json",
tagsOutputFile: "/generated-tags.json",
},
expectedErr: true,
args: []string{
Expand All @@ -270,7 +270,7 @@ func TestFlags(t *testing.T) {
logDir: "prow/logs",
orgRepo: "kyma-project/test-infra",
silent: true,
tagsOutputFile: "/tmp/generated-tags.json",
tagsOutputFile: "/generated-tags.json",
},
args: []string{
"--config=config.yaml",
Expand All @@ -292,7 +292,7 @@ func TestFlags(t *testing.T) {
dockerfile: "dockerfile",
logDir: "/logs/artifacts",
exportTags: true,
tagsOutputFile: "/tmp/generated-tags.json",
tagsOutputFile: "/generated-tags.json",
},
args: []string{
"--export-tags",
Expand All @@ -309,7 +309,7 @@ func TestFlags(t *testing.T) {
tags.Tag{Name: "BIN", Value: "test"},
tags.Tag{Name: "BIN2", Value: "test2"},
},
tagsOutputFile: "/tmp/generated-tags.json",
tagsOutputFile: "/generated-tags.json",
},
args: []string{
"--build-arg=BIN=test",
Expand Down

0 comments on commit 1aeed8e

Please sign in to comment.