Browse Source

Fix tests.

pull/133/head
Pēteris Caune 7 years ago
parent
commit
1232328aa9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hc/front/tests/test_add_sms.py

+ 1
- 0
hc/front/tests/test_add_sms.py View File

@ -12,6 +12,7 @@ class AddSmsTestCase(BaseTestCase):
r = self.client.get(self.url) r = self.client.get(self.url)
self.assertContains(r, "Get a SMS message") self.assertContains(r, "Get a SMS message")
@override_settings(USE_PAYMENTS=True)
def test_it_warns_about_limits(self): def test_it_warns_about_limits(self):
self.profile.sms_limit = 0 self.profile.sms_limit = 0
self.profile.save() self.profile.save()


Loading…
Cancel
Save