diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-14 12:54:27 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-18 07:05:52 +0200 |
| commit | 8e89dfe1c24540d33b577377af633694ff57f505 (patch) | |
| tree | 127b5b495d97a89e88e943470b8a57a2f8ce907f /tests/raw_query | |
| parent | 331a460f8f2e4f447b68fba491464b68c9b21fd1 (diff) | |
Fixed various tests on MySQL with MyISAM storage engine.
Diffstat (limited to 'tests/raw_query')
| -rw-r--r-- | tests/raw_query/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
