Not null in own PR

This commit is contained in:
Martyn Inglis
2017-06-05 13:10:54 +01:00
parent 687b8443d1
commit 21a5f01804
2 changed files with 7 additions and 5 deletions

View File

@@ -193,7 +193,8 @@ def create_inbound_sms(
user_number='447700900111',
provider_date=None,
provider_reference=None,
content='Hello'
content='Hello',
provider="mmg"
):
inbound = InboundSms(
service=service,
@@ -203,6 +204,7 @@ def create_inbound_sms(
provider_date=provider_date or datetime.utcnow(),
provider_reference=provider_reference or 'foo',
content=content,
provider=provider
)
dao_create_inbound_sms(inbound)
return inbound