Clean up old text message price

Now that the new price is in effect, we don’t need to check the date to
see which price should be displayed to the user.
This commit is contained in:
Chris Hill-Scott
2022-05-03 10:14:35 +01:00
parent 3a1ac189ff
commit 7f94232f4e
2 changed files with 0 additions and 3 deletions

View File

@@ -13,8 +13,6 @@ from app.main.views.sub_navigation_dictionaries import pricing_nav
def get_current_sms_rate():
if convert_utc_to_bst(datetime.utcnow()) < convert_utc_to_bst(datetime(2022, 5, 1)):
return '1.61'
return '1.72'

View File

@@ -359,7 +359,6 @@ def test_font_preload(
@pytest.mark.parametrize('current_date, expected_rate', (
('2022-04-30', '1.61'),
('2022-05-01', '1.72'),
))
def test_sms_price(