From 5ccd4734fbd2504cb245176bd28a06ef33785a23 Mon Sep 17 00:00:00 2001 From: Alexander Suter Date: Tue, 24 Dec 2024 10:23:36 +0100 Subject: [PATCH] Fix tests --- .../devops/securityscanner/TestSecurityScannerRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/ivyteam/devops/securityscanner/TestSecurityScannerRepository.java b/src/test/java/io/ivyteam/devops/securityscanner/TestSecurityScannerRepository.java index 2cf8b3c..2aa106a 100644 --- a/src/test/java/io/ivyteam/devops/securityscanner/TestSecurityScannerRepository.java +++ b/src/test/java/io/ivyteam/devops/securityscanner/TestSecurityScannerRepository.java @@ -64,7 +64,7 @@ void all() { scanners.create(SCANNER_1); scanners.create(SCANNER_2); scanners.create(SCANNER_3); - assertThat(scanners.all()).containsExactly( + assertThat(scanners.all()).containsOnly( Map.entry(new Key("axonivy/test", ScanType.DEPENDABOT), SCANNER_1), Map.entry(new Key("axonivy/test", ScanType.SECRET_SCANNING), SCANNER_2), Map.entry(new Key("axonivy/vulnerarbilty", ScanType.SECRET_SCANNING), SCANNER_3));