diff options
author | Tim Graham <timograham@gmail.com> | 2016-10-05 09:17:26 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-10-05 09:17:26 -0400 |
commit | e5f5e8ac17161708b18ac1e88aeedaa1fd7451ec (patch) | |
tree | 20f3a9f1501521dc27f86a89353b2aff8529f72e /tests/admin_utils | |
parent | e1b4360adc97f002fc6c8f7974f73fcf1eaeb278 (diff) | |
download | django-e5f5e8ac17161708b18ac1e88aeedaa1fd7451ec.tar.gz |
Refs #27218 -- Fixed LogEntry tests on MySQL 5.5.
Diffstat (limited to 'tests/admin_utils')
-rw-r--r-- | tests/admin_utils/test_logentry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_utils/test_logentry.py b/tests/admin_utils/test_logentry.py index aaa67ffc13..ba0e3c1bfd 100644 --- a/tests/admin_utils/test_logentry.py +++ b/tests/admin_utils/test_logentry.py @@ -185,7 +185,7 @@ class LogEntryTests(TestCase): self.user.pk, content_type_pk, self.a1.pk, repr(self.a1), CHANGE, change_message='Changed something else', ) - self.assertEqual(log_entry, LogEntry.objects.latest('action_time')) + self.assertEqual(log_entry, LogEntry.objects.latest('id')) def test_recentactions_without_content_type(self): """ |