mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
chore: update go tests to use our hosted trivy-db and trivy-java-db images (#2754)
There are 2 remaining exceptions that I am aware of: 1. The tests under test/blackbox/cve.bats 2. One of the cli tests checking the server attempts download of the databases from the default url Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -1070,7 +1070,7 @@ func TestServeSearchEnabled(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestServeSearchEnabledCVE(t *testing.T) {
|
||||
func TestServeSearchEnabledDefaultCVEDB(t *testing.T) {
|
||||
oldArgs := os.Args
|
||||
|
||||
defer func() { os.Args = oldArgs }()
|
||||
|
||||
Reference in New Issue
Block a user