Add more tests #16
Annotations
4 errors
Run rake test:foreman_cve_scanner:
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L38
Failure: test_0004_grype scan has valid data
Expected: 18
Actual: 1
|
Run rake test:foreman_cve_scanner:
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L28
Failure: test_0003_trivy scan has valid data
--- expected
+++ actual
@@ -1 +1 @@
-"CVE-2023-48795: ssh: Prefix truncation attack on Binary Packet Protocol (BPP) # url: https://avd.aquasec.com/nvd/cve-2023-48795"
+"fooo"
|
Run rake test:foreman_cve_scanner:
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L10
Failure: test_0001_should identify as cve scan
NoMethodError: undefined method `assert_equasl' for #<ForemanCveScanner::CveReportScannerTest:0x00005583acf87840>
Did you mean? assert_equal
foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:10:in `block in <class:CveReportScannerTest>'
|
Run rake test:foreman_cve_scanner
Process completed with exit code 1.
|
Loading