Skip to content

Commit

Permalink
Update tests to check for query, not inference ID
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso committed Dec 16, 2024
1 parent baf42ba commit 6daae45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ setup:
- match: { status: 400 }

---
"Test sparse_vector only allows one of inference_id or query_vector":
"Test sparse_vector only allows one of query or query_vector":
- do:
catch: bad_request
search:
Expand All @@ -290,7 +290,7 @@ setup:
query:
sparse_vector:
field: text
inference_id: text_expansion_model
query: "octopus comforter smells"
query_vector:
the: 1.0
comforter: 1.0
Expand Down

0 comments on commit 6daae45

Please sign in to comment.