From 7d212049f60c105d54ca713fb049e096c6b84f24 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Mon, 16 Dec 2024 17:03:29 +0000 Subject: [PATCH] shorten test to focus on what we're testing Signed-off-by: Austin Abro --- src/pkg/lint/lint_test.go | 8 -------- src/pkg/lint/testdata/lint-with-imports/zarf.yaml | 1 - 2 files changed, 9 deletions(-) diff --git a/src/pkg/lint/lint_test.go b/src/pkg/lint/lint_test.go index b2c03c5ff3..36312ec09c 100644 --- a/src/pkg/lint/lint_test.go +++ b/src/pkg/lint/lint_test.go @@ -199,14 +199,6 @@ func TestLintPackageWithImports(t *testing.T) { PackagePathOverride: "", Severity: SevErr, }, - { - YqPath: ".metadata", - Description: "Additional property description1 is not allowed", - Item: "", - PackageNameOverride: "", - PackagePathOverride: "", - Severity: SevErr, - }, } cwd, err := os.Getwd() require.NoError(t, err) diff --git a/src/pkg/lint/testdata/lint-with-imports/zarf.yaml b/src/pkg/lint/testdata/lint-with-imports/zarf.yaml index 73fa26576d..95ec62f75b 100644 --- a/src/pkg/lint/testdata/lint-with-imports/zarf.yaml +++ b/src/pkg/lint/testdata/lint-with-imports/zarf.yaml @@ -1,7 +1,6 @@ kind: ZarfPackageConfig metadata: name: lint - description1: Testing bad yaml components: - name: first-test-component