Update mbid consistency test mock to match new create_finding bool contract
This commit is contained in:
parent
749a772ff5
commit
05bfb724a8
1 changed files with 2 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ def _build_context(rows: list, tmp_path: Path) -> SimpleNamespace:
|
||||||
|
|
||||||
def _create_finding(**kwargs):
|
def _create_finding(**kwargs):
|
||||||
findings_created.append(kwargs)
|
findings_created.append(kwargs)
|
||||||
|
# Mirror real `_create_finding` contract: True on insert.
|
||||||
|
return True
|
||||||
|
|
||||||
ctx = SimpleNamespace(
|
ctx = SimpleNamespace(
|
||||||
db=_FakeDB(),
|
db=_FakeDB(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue