Small updates:

* Make config use new provider sms template id
* create_notification to account for created status
* Small robustness addition to test
This commit is contained in:
Imdad Ahad
2017-02-27 13:16:48 +00:00
parent 204d72830f
commit 17b6c13c46
3 changed files with 5 additions and 7 deletions

View File

@@ -1514,7 +1514,7 @@ def test_slow_provider_delivery_returns_for_delivered_notifications_only(
slow_delivery = is_delivery_slow_for_provider(
sent_at=now,
provider='firetext',
threshold=1,
threshold=2,
delivery_time=timedelta(minutes=5),
service_id=sample_template.service.id,
template_id=sample_template.id