diff --git a/tests/app/dao/test_services_dao.py b/tests/app/dao/test_services_dao.py index fe03e71bc..b60767289 100644 --- a/tests/app/dao/test_services_dao.py +++ b/tests/app/dao/test_services_dao.py @@ -8,7 +8,7 @@ from sqlalchemy.exc import IntegrityError from freezegun import freeze_time from app import db from app.dao.inbound_numbers_dao import ( - dao_set_inbound_number_to_service, + dao_set_inbound_number_to_service, dao_get_available_inbound_numbers ) from app.dao.services_dao import ( diff --git a/tests/app/db.py b/tests/app/db.py index 981b62fc9..6a4f45cbf 100644 --- a/tests/app/db.py +++ b/tests/app/db.py @@ -281,10 +281,10 @@ def create_api_key(service, key_type=KEY_TYPE_NORMAL): def create_inbound_number(number, provider='mmg', active=True, service_id=None): inbound_number = InboundNumber( - id=uuid.uuid4(), - number=number, - provider=provider, - active=active, + id=uuid.uuid4(), + number=number, + provider=provider, + active=active, service_id=service_id ) db.session.add(inbound_number)