Repository navigation
v0.9.0-pre3 - Test Compilation Fix
Pre-release
Pre-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
mockECRClienttomockECRScanClientto avoid conflicts - β All tests now pass successfully
What's Fixed
- Renamed mock struct in
images_scan_test.goto avoid redeclaration conflict withecr_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