mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 16:06:36 +01:00
tests: update all tests to pass the IDLike value
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
@@ -62,7 +62,7 @@ func TestCycloneDxDirsPresenter(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
d, err := distro.NewDistro(distro.Ubuntu, "20.04")
|
||||
d, err := distro.NewDistro(distro.Ubuntu, "20.04", "debian")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -152,7 +152,7 @@ func TestCycloneDxImgsPresenter(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
d, err := distro.NewDistro(distro.RedHat, "8")
|
||||
d, err := distro.NewDistro(distro.RedHat, "8", "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
},
|
||||
"distro": {
|
||||
"name": "",
|
||||
"version": ""
|
||||
"version": "",
|
||||
"idLike": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
},
|
||||
"distro": {
|
||||
"name": "",
|
||||
"version": ""
|
||||
"version": "",
|
||||
"idLike": ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user