Skip to content

Conversation

dak2
Copy link
Contributor

@dak2 dak2 commented Oct 11, 2025

Motivation and Context

Update test_resources_returns_empty_array_when_no_resources to use correct mock response format with empty resources array instead of empty result object.
Also reorder test to group with other resources tests.

Follow up: #160

How Has This Been Tested?

Check existing and added test cases for this case.

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Update test_resources_returns_empty_array_when_no_resources to use
correct mock response format with empty resources array instead of
empty result object. Also reorder test to group with other resources
tests.

Follow up: modelcontextprotocol#160
@koic koic merged commit 92a08ba into modelcontextprotocol:main Oct 12, 2025
5 checks passed
@dak2 dak2 deleted the fix-client-resouces-test branch October 13, 2025 01:40
@topherbullock topherbullock mentioned this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants