From 87f5d07eededc86f8ce1797fdfca7d4903ee0edc Mon Sep 17 00:00:00 2001 From: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> Date: Fri, 14 Jun 2019 21:50:29 +0530 Subject: Fixed #12952 -- Adjusted admin log change messages to use form labels instead of field names. --- tests/admin_views/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/admin_views/tests.py') diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 87835eb37b..203551fa39 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -900,7 +900,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase): self.assertRedirects(response, reverse('admin:admin_views_readablepizza_changelist')) pizza_ctype = ContentType.objects.get_for_model(ReadablePizza, for_concrete_model=False) log = LogEntry.objects.filter(content_type=pizza_ctype, object_id=pizza.pk).first() - self.assertEqual(log.get_change_message(), 'Changed toppings.') + self.assertEqual(log.get_change_message(), 'Changed Toppings.') def test_allows_attributeerror_to_bubble_up(self): """ -- cgit v1.3