From 8e89dfe1c24540d33b577377af633694ff57f505 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 14 Apr 2022 12:54:27 +0200 Subject: Fixed various tests on MySQL with MyISAM storage engine. --- tests/raw_query/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/raw_query') diff --git a/tests/raw_query/tests.py b/tests/raw_query/tests.py index ebbf31a8c8..1dcc7ce740 100644 --- a/tests/raw_query/tests.py +++ b/tests/raw_query/tests.py @@ -310,7 +310,7 @@ class RawQueryTests(TestCase): ("book_count", 1), ("book_count", 0), ) - authors = Author.objects.all() + authors = Author.objects.order_by("pk") self.assertSuccessfulRawQuery(Author, query, authors, expected_annotations) def test_white_space_query(self): -- cgit v1.3