fix: Fix trial settings persistence

This commit is contained in:
3252a8
2026-05-28 22:48:48 +03:00
parent bea62d75a9
commit 1c1ef06e29
3 changed files with 28 additions and 2 deletions
@@ -207,6 +207,17 @@ def test_backup_required_numeric_settings_reject_empty_values():
coerce_value(get_field_by_key("BACKUP_INTERVAL_SECONDS"), "")
def test_trial_required_settings_reject_empty_values():
for key in (
"TRIAL_ENABLED",
"TRIAL_DURATION_DAYS",
"TRIAL_TRAFFIC_LIMIT_GB",
"TRIAL_TRAFFIC_STRATEGY",
):
with pytest.raises(ValueError):
coerce_value(get_field_by_key(key), "")
def test_payment_provider_settings_include_webhook_metadata():
manifest = _manifest_by_key()