[Tests] Fix resources-templates-read to return a resolved URI (#460)

The fixture returned the literal template pattern test://template/{id}/data
instead of substituting id, failing the wire-schema uri format check. Also
switches the json-schema-2020-12 baseline entry to a bare scenario name: the
latest (0.1.x) conformance CLI doesn't parse scenario:check-id syntax, only
alpha (0.2.x) does, and the two need to agree since conformance-weekly runs
2025-11-25 against latest while pipeline.yaml pins alpha.

Verified locally against both dist-tags and both spec revisions.
This commit is contained in:
Christopher Hertel 2026-08-19 00:14:46 +02:00 • committed by GitHub
commit f6a995bc44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@ final class Elements
public function resourceTemplate(string $id): TextResourceContents
{
return new TextResourceContents(
uri: 'test://template/{id}/data',
uri: \sprintf('test://template/%s/data', $id),
mimeType: 'application/json',
text: json_encode([
'id' => $id,