Added missing available app in migrations test case
In some test combinations, having contrib.auth available but not contrib.contenttypes can produce failures while creating permissions.
This commit is contained in:
parent
4b0a45ce64
commit
70428902c0
|
@ -1512,6 +1512,7 @@ class SwappableOperationTests(OperationTestBase):
|
||||||
available_apps = [
|
available_apps = [
|
||||||
"migrations",
|
"migrations",
|
||||||
"django.contrib.auth",
|
"django.contrib.auth",
|
||||||
|
"django.contrib.contenttypes",
|
||||||
]
|
]
|
||||||
|
|
||||||
@override_settings(TEST_SWAP_MODEL="migrations.SomeFakeModel")
|
@override_settings(TEST_SWAP_MODEL="migrations.SomeFakeModel")
|
||||||
|
|
Loading…
Reference in New Issue