summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-11 12:20:16 +0200
committerGitHub <noreply@github.com>2019-09-11 12:20:16 +0200
commit937ddaff55efbfb4a9560603bbc8c5b17d9e1364 (patch)
tree2b60d7d9410a9c54b38801205403d4fbbb15c799
parent241deed2590bcb1d8c45271d44c86eaedfb57119 (diff)
Refs #30591 -- Fixed too long identifier crash in migrations.test_operations on MySQL 8.0.16+.
-rw-r--r--tests/migrations/test_operations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py
index 64e29194ca..2a57b43ec4 100644
--- a/tests/migrations/test_operations.py
+++ b/tests/migrations/test_operations.py
@@ -1310,7 +1310,7 @@ class OperationTests(OperationTestBase):
@skipUnlessDBFeature('supports_foreign_keys')
def test_alter_field_reloads_state_on_fk_with_to_field_target_type_change(self):
- app_label = 'alter_field_reloads_state_on_fk_with_to_field_target_type_change'
+ app_label = 'test_alflrsfkwtflttc'
project_state = self.apply_operations(app_label, ProjectState(), operations=[
migrations.CreateModel('Rider', fields=[
('id', models.AutoField(primary_key=True)),
@@ -1330,7 +1330,7 @@ class OperationTests(OperationTestBase):
@skipUnlessDBFeature('supports_foreign_keys')
def test_alter_field_reloads_state_on_fk_with_to_field_related_name_target_type_change(self):
- app_label = 'alter_field_reloads_state_on_fk_with_to_field_rn_target_type_change'
+ app_label = 'test_alflrsfkwtflrnttc'
project_state = self.apply_operations(app_label, ProjectState(), operations=[
migrations.CreateModel('Rider', fields=[
('id', models.AutoField(primary_key=True)),