From a63caf7969a251aab7e921e49cef778d45d29bc9 Mon Sep 17 00:00:00 2001 From: Johan Wigert <45201794+jwigert@users.noreply.github.com> Date: Thu, 19 Oct 2023 08:40:42 +0200 Subject: [PATCH] refactoring --- .../java/edu/hm/hafner/analysis/parser/GrypeParserTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/edu/hm/hafner/analysis/parser/GrypeParserTest.java b/src/test/java/edu/hm/hafner/analysis/parser/GrypeParserTest.java index d30c14973..ff2d4052b 100644 --- a/src/test/java/edu/hm/hafner/analysis/parser/GrypeParserTest.java +++ b/src/test/java/edu/hm/hafner/analysis/parser/GrypeParserTest.java @@ -43,8 +43,7 @@ protected void assertThatIssuesArePresent(final Report report, final SoftAsserti @Test void assertThatVulnerabilityWithoutDescriptionCanBeParsed() { - var fileWithIssues = "grype-report-wo-description.json"; - var report = super.parse(fileWithIssues); + var report = parse("grype-report-wo-description.json"); try (var softly = new SoftAssertions()) { softly.assertThat(report).hasSize(20).hasDuplicatesSize(13);