Release v4928.1.4.2 stable
This commit is contained in:
8
tests/test_v4915_reconciliation_amount_cast.py
Normal file
8
tests/test_v4915_reconciliation_amount_cast.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_v4915_reconstruction_amount_update_casts_numeric_parameter():
|
||||
source = Path("app/reconciliation_service.py").read_text()
|
||||
assert "WHEN CAST(:amount AS NUMERIC) IS NOT NULL" in source
|
||||
assert "THEN CAST(:amount AS NUMERIC)" in source
|
||||
assert "WHEN :amount IS NOT NULL" not in source
|
||||
Reference in New Issue
Block a user