Move examples to server directory (#198)
* move examples to server directory This will prepare for the client implementation in https://github.com/modelcontextprotocol/php-sdk/pull/192 * fix move bootstrap too
This commit is contained in:
parent
c3244fcdd4
commit
6dac6f3b4a
5 changed files with 56 additions and 56 deletions
|
|
@ -88,6 +88,6 @@ final class StdioCachedDiscoveryTest extends StdioInspectorSnapshotTestCase
|
|||
|
||||
protected function getServerScript(): string
|
||||
{
|
||||
return \dirname(__DIR__, 3).'/examples/cached-discovery/server.php';
|
||||
return \dirname(__DIR__, 3).'/examples/server/cached-discovery/server.php';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ final class StdioCustomDependenciesTest extends StdioInspectorSnapshotTestCase
|
|||
|
||||
protected function getServerScript(): string
|
||||
{
|
||||
return \dirname(__DIR__, 3).'/examples/custom-dependencies/server.php';
|
||||
return \dirname(__DIR__, 3).'/examples/server/custom-dependencies/server.php';
|
||||
}
|
||||
|
||||
protected function normalizeTestOutput(string $output, ?string $testName = null): string
|
||||
|
|
|
|||
|
|
@ -45,6 +45,6 @@ final class StdioDiscoveryCalculatorTest extends StdioInspectorSnapshotTestCase
|
|||
|
||||
protected function getServerScript(): string
|
||||
{
|
||||
return \dirname(__DIR__, 3).'/examples/discovery-calculator/server.php';
|
||||
return \dirname(__DIR__, 3).'/examples/server/discovery-calculator/server.php';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,6 +50,6 @@ final class StdioEnvVariablesTest extends StdioInspectorSnapshotTestCase
|
|||
|
||||
protected function getServerScript(): string
|
||||
{
|
||||
return \dirname(__DIR__, 3).'/examples/env-variables/server.php';
|
||||
return \dirname(__DIR__, 3).'/examples/server/env-variables/server.php';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,6 +77,6 @@ final class StdioExplicitRegistrationTest extends StdioInspectorSnapshotTestCase
|
|||
|
||||
protected function getServerScript(): string
|
||||
{
|
||||
return \dirname(__DIR__, 3).'/examples/explicit-registration/server.php';
|
||||
return \dirname(__DIR__, 3).'/examples/server/explicit-registration/server.php';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue