diff --git a/README.md b/README.md index e402b87..a752c2a 100644 --- a/README.md +++ b/README.md @@ -93,3 +93,4 @@ Wait until the Docker has loaded, it can take a while. Check the progress with ` You'll have a ton of trouble if you default to building your Docker images as `linux/amd64`. At least I had. Ensure you do not have a env variable like `DOCKER_DEFAULT_PLATFORM=linux/amd64` enabled when pulling and/or running the image. + diff --git a/core/src/test/java/io/snyk/plugins/artifactory/scanner/PythonScannerTest.java b/core/src/test/java/io/snyk/plugins/artifactory/scanner/PythonScannerTest.java index bc0feb9..976fdcb 100644 --- a/core/src/test/java/io/snyk/plugins/artifactory/scanner/PythonScannerTest.java +++ b/core/src/test/java/io/snyk/plugins/artifactory/scanner/PythonScannerTest.java @@ -41,7 +41,7 @@ void shouldTestPipPackage() throws Exception { TestResult result = scanner.scan(fileLayoutInfo, repoPath); assertFalse(result.success); assertEquals(1, result.dependencyCount); - assertEquals(3, result.issues.vulnerabilities.size()); + assertEquals(5, result.issues.vulnerabilities.size()); assertEquals("pip", result.packageManager); assertEquals(org, result.organisation.id); assertEquals("https://snyk.io/vuln/pip%3Aurllib3%401.25.7", result.packageDetailsURL); diff --git a/core/src/test/java/io/snyk/plugins/artifactory/scanner/ScannerModuleTest.java b/core/src/test/java/io/snyk/plugins/artifactory/scanner/ScannerModuleTest.java index 7321826..9a66697 100644 --- a/core/src/test/java/io/snyk/plugins/artifactory/scanner/ScannerModuleTest.java +++ b/core/src/test/java/io/snyk/plugins/artifactory/scanner/ScannerModuleTest.java @@ -366,7 +366,7 @@ void testScanPythonItem_withVulns() throws Exception { TestResult tr = testResultCaptor.getValue(); assertFalse(tr.success); assertEquals(1, tr.dependencyCount); - assertEquals(3, tr.issues.vulnerabilities.size()); + assertEquals(5, tr.issues.vulnerabilities.size()); assertEquals("pip", tr.packageManager); assertEquals(testSetup.org, tr.organisation.id);