Open-source personal finance manager. Self-hosted, privacy-first.
fix test new rules api
Tássio Noronhadcd7c2808798
diff --git a/backend/tests/test_new_rules_api.py b/backend/tests/test_new_rules_api.pyindex 93b56169..b62edf50 100644--- a/backend/tests/test_new_rules_api.py+++ b/backend/tests/test_new_rules_api.py@@ -65,7 +65,7 @@ async def test_apply_all_rules(client: AsyncClient, auth_headers, test_rules, teassert response.status_code == 200data = response.json()assert "applied" in data- assert data["applied"] >= 5 # We have 5 test transactions+ assert data["applied"] >= 3 # 3 of 5 transactions match test rules (UBER, IFOOD, SALARIO)# --- Integration tests: category assignment, tags, priority, isolation ---