*: fix not all migrations using db_alias

This commit is contained in:
Jens Langhammer
2020-06-19 20:35:38 +02:00
parent 03b1a67b44
commit af8cdb34ee
4 changed files with 45 additions and 23 deletions

View File

@ -79,7 +79,9 @@ class TestProviderOIDC(StaticLiveServerTestCase):
"""test OpenID Provider flow (invalid redirect URI, check error message)"""
sleep(1)
# Bootstrap all needed objects
authorization_flow = Flow.objects.get(slug="default-provider-authorization")
authorization_flow = Flow.objects.get(
slug="default-provider-authorization-implicit-consent"
)
client = Client.objects.create(
name="grafana",
client_type="confidential",