anchore / anchore-engine

A service that analyzes docker images and scans for vulnerabilities
Apache License 2.0
1.58k stars 273 forks source link

Add unit test for FilesystemAnalysis database object files json method #1333

Closed dakaneye closed 2 years ago

dakaneye commented 2 years ago

Signed-off-by: Samuel Dacanay sam.dacanay@anchore.com

What this PR does / why we need it: This method is called ~16 times across engine and isn't tested, so I've added a unit test for it now