Skip to content

v0.9.0-pre3 - Test Compilation Fix

Pre-release
Pre-release

Choose a tag to compare

@btassone btassone released this 15 Sep 17:53
· 2 commits to master since this release

Pre-release v0.9.0-pre3

This pre-release fixes test compilation errors that were causing build failures.

Changes Since v0.9.0-pre2

  • πŸ› Fixed test compilation errors by renaming mockECRClient to mockECRScanClient to avoid conflicts
  • βœ… All tests now pass successfully

What's Fixed

  • Renamed mock struct in images_scan_test.go to avoid redeclaration conflict with ecr_test.go
  • Fixed undefined field error by properly naming the mock client

Test Results

=== RUN   TestGetImageScanFindingsCompatibility
--- PASS: TestGetImageScanFindingsCompatibility (0.00s)
    --- PASS: TestGetImageScanFindingsCompatibility/successful_scan_findings_retrieval (0.00s)
    --- PASS: TestGetImageScanFindingsCompatibility/scan_not_found_-_image_never_scanned (0.00s)
    --- PASS: TestGetImageScanFindingsCompatibility/image_not_found (0.00s)
    --- PASS: TestGetImageScanFindingsCompatibility/repository_not_found (0.00s)

Testing

All ECR tests pass. Ready for Jenkins deployment.

Full Changelog: v0.9.0-pre2...v0.9.0-pre3