From fc3c36931f39e6e05647c25c59479ee1b7f8867d Mon Sep 17 00:00:00 2001 From: Kristoffer Andersson Date: Sat, 9 Apr 2022 21:11:55 +0200 Subject: [PATCH] test: sort on existing field --- karp/tests/e2e/test_query_api_input.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/karp/tests/e2e/test_query_api_input.py b/karp/tests/e2e/test_query_api_input.py index 83803961..c3a4f255 100644 --- a/karp/tests/e2e/test_query_api_input.py +++ b/karp/tests/e2e/test_query_api_input.py @@ -5,13 +5,13 @@ class TestQueryApiInput: @pytest.mark.parametrize("query_string", [ - "sort=field", - "sort=field|asc", - "sort=field|desc", + "sort=name", + "sort=name|asc", + "sort=name|desc", "from=10", "size=10", "q=", - "q=&sort=field&from=0&size=25", + "q=&sort=name&from=0&size=25", ]) @pytest.mark.parametrize("path", ["query", "query/split"]) def test_valid_query_strings(