summaryrefslogtreecommitdiff
path: root/tests/schema
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-04-06 16:52:13 +0200
committerGitHub <noreply@github.com>2022-04-06 16:52:13 +0200
commitbfe9665502c77baf14ce6cf52af974033bd43164 (patch)
treee09b161d9a4f1c4e8a6d178b2ed0935f8cabd81c /tests/schema
parent65effbdb101714ac98b3f143eaccadd8e4f08361 (diff)
Skipped SchemaTests.test_alter_field_type_and_db_collation on databases that don't support collation on TextField.
Diffstat (limited to 'tests/schema')
-rw-r--r--tests/schema/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py
index fcc090aaf2..fa59a3e0b1 100644
--- a/tests/schema/tests.py
+++ b/tests/schema/tests.py
@@ -4579,7 +4579,9 @@ class SchemaTests(TransactionTestCase):
editor.alter_field(Author, new_field, old_field, strict=True)
self.assertIsNone(self.get_column_collation(Author._meta.db_table, "name"))
- @skipUnlessDBFeature("supports_collation_on_charfield")
+ @skipUnlessDBFeature(
+ "supports_collation_on_charfield", "supports_collation_on_textfield"
+ )
def test_alter_field_type_and_db_collation(self):
collation = connection.features.test_collations.get("non_default")
if not collation: