mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33308 -- Added get_type_oids() hook and simplified registering type handlers on PostgreSQL.
This commit is contained in:
committed by
Mariusz Felisiak
parent
149b55fefa
commit
d3e746ace5
@@ -34,8 +34,9 @@ class OIDTests(PostgreSQLTestCase):
|
||||
self.assertOIDs(array_oids)
|
||||
|
||||
def test_citext_values(self):
|
||||
oids = get_citext_oids(connection.alias)
|
||||
oids, citext_oids = get_citext_oids(connection.alias)
|
||||
self.assertOIDs(oids)
|
||||
self.assertOIDs(citext_oids)
|
||||
|
||||
def test_register_type_handlers_no_db(self):
|
||||
"""Registering type handlers for the nodb connection does nothing."""
|
||||
|
||||
Reference in New Issue
Block a user