test: change branch in spdx schema link to check in integration tests [backport: release/v0.57] (#7940)

Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com>
This commit is contained in:
Aqua Security automated builds
2024-11-18 01:41:56 -07:00
committed by GitHub
parent efec32669b
commit 3d537b908b

View File

@@ -41,7 +41,7 @@ import (
var update = flag.Bool("update", false, "update golden files")
const SPDXSchema = "https://raw.githubusercontent.com/spdx/spdx-spec/development/v%s/schemas/spdx-schema.json"
const SPDXSchema = "https://raw.githubusercontent.com/spdx/spdx-spec/support/v%s/schemas/spdx-schema.json"
func initDB(t *testing.T) string {
fixtureDir := filepath.Join("testdata", "fixtures", "db")