From 1285de557b0b8b9c5ebe5de0114b2da5abe60f80 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 27 Aug 2025 09:55:23 -0400 Subject: [PATCH] Fixed incorrect IDs in test_in_bulk_preserve_ordering. --- tests/lookup/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lookup/tests.py b/tests/lookup/tests.py index ef54472e54..6932eca0c8 100644 --- a/tests/lookup/tests.py +++ b/tests/lookup/tests.py @@ -250,8 +250,8 @@ class LookupTests(TestCase): def test_in_bulk_preserve_ordering(self): self.assertEqual( - list(Article.objects.in_bulk([self.au2.id, self.au1.id])), - [self.au2.id, self.au1.id], + list(Article.objects.in_bulk([self.a2.id, self.a1.id])), + [self.a2.id, self.a1.id], ) def test_in_bulk_preserve_ordering_with_batch_size(self):