Files
fuzzforge_ai/backend/tests/unit
tduhamel42 8cd822823f test: Update fuzzer tests to use new create_finding signature
Fixed failing unit tests that were using the old create_finding() signature.
The native findings format refactoring added two new required parameters:
- rule_id: Identifier for the rule/pattern that detected the finding
- found_by: FoundBy object with module, tool, and detection type info

Updated tests:
- test_cargo_fuzzer.py::test_create_finding_from_crash
- test_atheris_fuzzer.py::test_create_crash_finding

Both tests now properly instantiate FoundBy objects with appropriate
fuzzer metadata (module name, tool name, version, and type="fuzzer").
2025-11-14 11:14:49 +01:00
..