Anmeldehinweis fuer Marktdurchfuehrungen ergaenzen

This commit is contained in:
gitea_admin committed 2026-09-27 09:14:33 +02:00
1 parent 367af9a1a7
commit 7f61df4052
7 files changed
+17 -5

No files matched your search

@@ -69,6 +69,10 @@ $expected = [
$tools = market_management_mcp_tools();
assert_test(count($tools) === 21, 'Expected 21 MCP tools, got ' . count($tools));
$occurrenceTool = array_values(array_filter($tools, static fn (array $tool): bool => $tool['name'] === 'market_management.update_occurrence'))[0] ?? null;
assert_test(is_array($occurrenceTool), 'Update occurrence MCP tool must exist');
assert_test(isset($occurrenceTool['inputSchema']['properties']['registration_note']), 'MCP occurrence schema must expose registration_note');
$actual = [];
foreach ($tools as $tool) {
assert_test(isset($tool['name'], $tool['description'], $tool['inputSchema']), 'Tool must contain name, description and inputSchema');