diff --git a/tests/web/test_websocket_server.py b/tests/web/test_websocket_server.py index f25e183f..d071f9e7 100644 --- a/tests/web/test_websocket_server.py +++ b/tests/web/test_websocket_server.py @@ -132,7 +132,7 @@ def test_websocket_block_event(b, _block, test_client, loop): for tx in block['block']['transactions']: result = yield from ws.receive() json_result = json.loads(result.data) - assert json_result['tx_id'] == tx['id'] + assert json_result['transaction_id'] == tx['id'] # Since the transactions are all CREATEs, asset id == transaction id assert json_result['asset_id'] == tx['id'] assert json_result['block_id'] == block['id'] @@ -184,4 +184,4 @@ def test_integration_from_webapi_to_websocket(monkeypatch, client, loop): result = loop.run_until_complete(ws.receive()) json_result = json.loads(result.data) - assert json_result['tx_id'] == tx.id + assert json_result['transaction_id'] == tx.id