Used not installed extension in CreateExtension() tests.

uuid-ossp was already installed.
This commit is contained in:
Frantisek Holop 2020-05-25 11:24:34 +02:00 committed by Mariusz Felisiak
parent 7c947f0f5a
commit 73216aaaa9
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ class CreateExtensionTests(PostgreSQLTestCase):
@override_settings(DATABASE_ROUTERS=[NoExtensionRouter()])
def test_no_allow_migrate(self):
operation = CreateExtension('uuid-ossp')
operation = CreateExtension('tablefunc')
project_state = ProjectState()
new_state = project_state.clone()
# Don't create an extension.
@ -173,7 +173,7 @@ class CreateExtensionTests(PostgreSQLTestCase):
self.assertEqual(len(captured_queries), 0)
def test_allow_migrate(self):
operation = CreateExtension('uuid-ossp')
operation = CreateExtension('tablefunc')
project_state = ProjectState()
new_state = project_state.clone()
# Create an extension.