1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #27218 -- Fixed LogEntry tests on MySQL 5.5.

This commit is contained in:
Tim Graham
2016-10-05 09:17:26 -04:00
parent e1b4360adc
commit e5f5e8ac17
2 changed files with 4 additions and 4 deletions

View File

@@ -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):
"""