Skip to content

Commit e9879c4

Browse files
committed
Update sync POST test to use encrypted payload string
1 parent 5910a7c commit e9879c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/api_endpoints/test_mcp_extended_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def test_sync_get(mock_handle, client, api_token):
440440
def test_sync_post(mock_handle, client, api_token):
441441
"""Test POST /sync."""
442442
mock_handle.return_value = ({"success": True}, 200)
443-
payload = {"data": {}, "node_name": "node1", "plugin": "test"}
443+
payload = {"data": "encrypted_payload_string", "node_name": "node1", "plugin": "test"}
444444
response = client.post('/sync',
445445
json=payload,
446446
headers=auth_headers(api_token))

0 commit comments

Comments
 (0)