Add contacts tests to test.sh
All checks were successful
Build And Test / publish (push) Successful in 48s
All checks were successful
Build And Test / publish (push) Successful in 48s
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
12
test.sh
12
test.sh
@@ -65,9 +65,19 @@ SERVER_INFO=$(mcp_request 3 "tools/call" '{"name":"get_server_info","arguments":
|
|||||||
echo "$SERVER_INFO"
|
echo "$SERVER_INFO"
|
||||||
|
|
||||||
# List mailboxes
|
# List mailboxes
|
||||||
echo -e "\n[5/5] Listing mailboxes..."
|
echo -e "\n[5/7] Listing mailboxes..."
|
||||||
MAILBOXES=$(mcp_request 4 "tools/call" '{"name":"list_mailboxes","arguments":{}}')
|
MAILBOXES=$(mcp_request 4 "tools/call" '{"name":"list_mailboxes","arguments":{}}')
|
||||||
echo "$MAILBOXES"
|
echo "$MAILBOXES"
|
||||||
|
|
||||||
|
# List address books
|
||||||
|
echo -e "\n[6/7] Listing address books..."
|
||||||
|
ADDRESSBOOKS=$(mcp_request 5 "tools/call" '{"name":"list_addressbooks","arguments":{}}')
|
||||||
|
echo "$ADDRESSBOOKS"
|
||||||
|
|
||||||
|
# List contacts
|
||||||
|
echo -e "\n[7/7] Listing contacts..."
|
||||||
|
CONTACTS=$(mcp_request 6 "tools/call" '{"name":"list_contacts","arguments":{"limit":10}}')
|
||||||
|
echo "$CONTACTS"
|
||||||
|
|
||||||
echo -e "\n================================"
|
echo -e "\n================================"
|
||||||
echo "All tests completed!"
|
echo "All tests completed!"
|
||||||
|
|||||||
Reference in New Issue
Block a user