Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_support_views: Fix event_time of LicenseLedger entry created.

Prakhar Pratyush72d9a4a074e8
diff --git a/corporate/tests/test_support_views.py b/corporate/tests/test_support_views.py
index cdcc4e18af0..d96a7ef275f 100644
--- a/corporate/tests/test_support_views.py
+++ b/corporate/tests/test_support_views.py
@@ -662,7 +662,7 @@ class TestSupportEndpoint(ZulipTestCase):
LicenseLedger.objects.create(
licenses=10,
licenses_at_next_renewal=10,
- event_time=timezone_now(),
+ event_time=now,
is_renewal=True,
plan=plan,
)