mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 07:10:41 -08:00
fix(report): fix error if miconfigs are empty (#5782)
This commit is contained in:
@@ -344,6 +344,15 @@ func TestClientServerWithFormat(t *testing.T) {
|
||||
},
|
||||
golden: "testdata/alpine-310.html.golden",
|
||||
},
|
||||
{
|
||||
name: "alpine 3.10 with junit template",
|
||||
args: csArgs{
|
||||
Format: "template",
|
||||
TemplatePath: "@../contrib/junit.tpl",
|
||||
Input: "testdata/fixtures/images/alpine-310.tar.gz",
|
||||
},
|
||||
golden: "testdata/alpine-310.junit.golden",
|
||||
},
|
||||
{
|
||||
name: "alpine 3.10 with github dependency snapshots format",
|
||||
args: csArgs{
|
||||
|
||||
Reference in New Issue
Block a user