tests_authentic: remove ou=None when creating a service (#63719)

To comply with changes in authentic from #63590, commit:646a9fd5.
This commit is contained in:
Benjamin Dauvergne 2022-04-08 11:16:19 +02:00
parent 49b8067a91
commit 1f0d890048
1 changed files with 0 additions and 3 deletions

View File

@ -476,7 +476,6 @@ def test_provision_createsuperuser(transactional_db, tenant, caplog):
with tenant_context(tenant):
# create a provider so notification messages have an audience.
LibertyProvider.objects.create(
ou=None,
name='provider',
entity_id='http://provider.com',
protocol_conformance=lasso.PROTOCOL_SAML_2_0,
@ -566,14 +565,12 @@ def test_provision_using_http(transactional_db, tenant, settings, caplog):
with tenant_context(tenant):
# create providers so notification messages have an audience.
LibertyProvider.objects.create(
ou=None,
name='provider',
slug='provider',
entity_id='http://example.org',
protocol_conformance=lasso.PROTOCOL_SAML_2_0,
)
LibertyProvider.objects.create(
ou=None,
name='provider2',
slug='provider2',
entity_id='http://example.com',