diff options
author | David Wobrock <david.wobrock@gmail.com> | 2023-03-13 15:03:28 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-24 06:09:27 +0100 |
commit | d6b6e5d0fd4e6b6d0183b4cf6e4bd4f9afc7bf67 (patch) | |
tree | 1e81239741fa0b7a576879c42040953ed64e9708 /tests/postgres_tests | |
parent | 39d1e45227e060746ed461fddde80fa2b6cf0dcd (diff) | |
download | django-d6b6e5d0fd4e6b6d0183b4cf6e4bd4f9afc7bf67.tar.gz |
Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list() on compound queries.
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r-- | tests/postgres_tests/test_array.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index f7615c974e..5f8441ba1b 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -466,8 +466,8 @@ class TestQuerying(PostgreSQLTestCase): ], ) sql = ctx[0]["sql"] - self.assertIn("GROUP BY 1", sql) - self.assertIn("ORDER BY 1", sql) + self.assertIn("GROUP BY 2", sql) + self.assertIn("ORDER BY 2", sql) def test_index(self): self.assertSequenceEqual( |