diff options
| author | Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> | 2019-06-14 21:50:29 +0530 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-06-14 18:20:29 +0200 |
| commit | 87f5d07eededc86f8ce1797fdfca7d4903ee0edc (patch) | |
| tree | cb44a913de3732b615e76ef0444499558a00ffbd /tests/admin_views/tests.py | |
| parent | 1564e42ad397021093585147875a21dae1a3b3fc (diff) | |
Fixed #12952 -- Adjusted admin log change messages to use form labels instead of field names.
Diffstat (limited to 'tests/admin_views/tests.py')
| -rw-r--r-- | tests/admin_views/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): """ |
