diff options
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): |
