Skip to content

Commit 0cb7127

Browse files
committed
Fix new test
1 parent 2a18ac9 commit 0cb7127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/instrumentation/elasticsearch_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,4 +577,4 @@ def test_custom_serializer(instrument, elasticapm_client, elasticsearch):
577577
transaction = elasticapm_client.events[TRANSACTION][0]
578578
spans = elasticapm_client.spans_for_transaction(transaction)
579579
span = spans[0]
580-
assert json.loads(span["context"]["db"]["statement"]) == json.loads('{"query":{"term":{"2":1}}}')
580+
assert json.loads(span["context"]["db"]["statement"]) == json.loads('{"query":{"term":{"2":{"value":1}}}}')

0 commit comments

Comments
 (0)