tests: adapt to v2 (removal of form_id)

This commit is contained in:
Frédéric Péters 2020-06-12 13:54:07 +02:00
parent ea4a1a568f
commit 0138f20fc8
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def app(request):
@pytest.fixture
def connector(db):
connector = UnicityReunionConnector.objects.create(
slug='test', form_id=1, db_name=DB_NAME, table_name=TABLE_NAME)
slug='test', db_name=DB_NAME, table_name=TABLE_NAME)
api = ApiUser.objects.create(username='all', keytype='', key='')
obj_type = ContentType.objects.get_for_model(connector)
AccessRight.objects.create(