tests: adapt to v2 (removal of table_name)

This commit is contained in:
Frédéric Péters 2020-06-12 13:56:17 +02:00
parent 0138f20fc8
commit bd375f26ac
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', db_name=DB_NAME, table_name=TABLE_NAME)
slug='test', db_name=DB_NAME)
api = ApiUser.objects.create(username='all', keytype='', key='')
obj_type = ContentType.objects.get_for_model(connector)
AccessRight.objects.create(