Skip to content

Commit 7b136fd

Browse files
feat: move the test files to corresponding directories
1 parent b09c5fc commit 7b136fd

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

tests/Unit/Server/RequestHandler/CallToolHandlerTest.php renamed to tests/Unit/Server/Handler/Request/CallToolHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Capability\Tool\ToolCallerInterface;
1515
use Mcp\Exception\ToolCallException;

tests/Unit/Server/RequestHandler/GetPromptHandlerTest.php renamed to tests/Unit/Server/Handler/Request/GetPromptHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Capability\Prompt\PromptGetterInterface;
1515
use Mcp\Exception\PromptGetException;

tests/Unit/Server/RequestHandler/ListPromptsHandlerTest.php renamed to tests/Unit/Server/Handler/Request/ListPromptsHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Capability\Registry;
1515
use Mcp\Exception\InvalidCursorException;

tests/Unit/Server/RequestHandler/ListResourcesHandlerTest.php renamed to tests/Unit/Server/Handler/Request/ListResourcesHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Capability\Registry;
1515
use Mcp\Exception\InvalidCursorException;

tests/Unit/Server/RequestHandler/ListToolsHandlerTest.php renamed to tests/Unit/Server/Handler/Request/ListToolsHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Capability\Registry;
1515
use Mcp\Exception\InvalidCursorException;

tests/Unit/Server/RequestHandler/PingHandlerTest.php renamed to tests/Unit/Server/Handler/Request/PingHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Schema\JsonRpc\Request;
1515
use Mcp\Schema\JsonRpc\Response;

tests/Unit/Server/RequestHandler/ReadResourceHandlerTest.php renamed to tests/Unit/Server/Handler/Request/ReadResourceHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Mcp\Tests\Unit\Server\RequestHandler;
12+
namespace Mcp\Tests\Unit\Server\Handler\Request;
1313

1414
use Mcp\Capability\Resource\ResourceReaderInterface;
1515
use Mcp\Exception\ResourceNotFoundException;

0 commit comments

Comments
 (0)