From 1232328aa9e7f25a9d3bd9e6fc8c301ec6db8861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sat, 15 Jul 2017 02:04:16 +0300 Subject: [PATCH] Fix tests. --- hc/front/tests/test_add_sms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hc/front/tests/test_add_sms.py b/hc/front/tests/test_add_sms.py index 0aec9171..f76db7d6 100644 --- a/hc/front/tests/test_add_sms.py +++ b/hc/front/tests/test_add_sms.py @@ -12,6 +12,7 @@ class AddSmsTestCase(BaseTestCase): r = self.client.get(self.url) self.assertContains(r, "Get a SMS message") + @override_settings(USE_PAYMENTS=True) def test_it_warns_about_limits(self): self.profile.sms_limit = 0 self.profile.save()