@@ -36,6 +36,7 @@ TEST(Configuration_read, read_valid_001) {
3636 "title": "Test",
3737 "baseUri": "https://example.com/extension",
3838 "path": "STUB_DIRECTORY/schemas/example/extension",
39+ "x-sourcemeta-one:path": "STUB_DIRECTORY/read_valid_001.json",
3940 "defaultDialect": "http://json-schema.org/draft-07/schema#",
4041 "resolve": {
4142 "https://other.com/single.json": "/foo.json"
@@ -75,6 +76,7 @@ TEST(Configuration_read, read_valid_002) {
7576 "nested": {
7677 "baseUri": "https://example.com/extension",
7778 "path": "STUB_DIRECTORY/folder/schemas/example/extension",
79+ "x-sourcemeta-one:path": "STUB_DIRECTORY/folder/jsonschema.json",
7880 "defaultDialect": "http://json-schema.org/draft-07/schema#"
7981 }
8082 }
@@ -106,6 +108,7 @@ TEST(Configuration_read, read_valid_003) {
106108 "nested": {
107109 "baseUri": "https://example.com/extension",
108110 "path": "STUB_DIRECTORY/folder/schemas/example/extension",
111+ "x-sourcemeta-one:path": "STUB_DIRECTORY/folder/jsonschema.json",
109112 "defaultDialect": "http://json-schema.org/draft-07/schema#"
110113 }
111114 }
@@ -140,6 +143,7 @@ TEST(Configuration_read, read_valid_004) {
140143 "nested": {
141144 "baseUri": "https://example.com/extension",
142145 "path": "STUB_DIRECTORY/folder/schemas/example/extension",
146+ "x-sourcemeta-one:path": "STUB_DIRECTORY/folder/jsonschema.json",
143147 "defaultDialect": "http://json-schema.org/draft-07/schema#"
144148 }
145149 }
@@ -174,6 +178,7 @@ TEST(Configuration_read, read_valid_005) {
174178 "nested": {
175179 "baseUri": "https://example.com/extension",
176180 "path": "STUB_DIRECTORY/folder/schemas/example/extension",
181+ "x-sourcemeta-one:path": "STUB_DIRECTORY/folder/jsonschema.json",
177182 "defaultDialect": "http://json-schema.org/draft-07/schema#"
178183 }
179184 }
@@ -372,6 +377,7 @@ TEST(Configuration_read, read_valid_013) {
372377 "title": "Test",
373378 "baseUri": "https://example.com/extension",
374379 "path": "STUB_DIRECTORY/schemas/example/extension",
380+ "x-sourcemeta-one:path": "STUB_DIRECTORY/read_valid_013.json",
375381 "defaultDialect": "http://json-schema.org/draft-07/schema#",
376382 "resolve": {
377383 "https://other.com/single.json": "/foo.json"
@@ -403,6 +409,7 @@ TEST(Configuration_read, read_valid_014) {
403409 "title": "Test",
404410 "baseUri": "https://example.com/extension",
405411 "path": "STUB_DIRECTORY/schemas/example/extension",
412+ "x-sourcemeta-one:path": "STUB_DIRECTORY/read_valid_014.json",
406413 "defaultDialect": "http://json-schema.org/draft-07/schema#",
407414 "resolve": {
408415 "https://other.com/single.json": "/foo.json"
@@ -436,6 +443,7 @@ TEST(Configuration_read, read_valid_015) {
436443 "contents": {
437444 "example": {
438445 "path": "STUB_DIRECTORY/schemas/example/extension",
446+ "x-sourcemeta-one:path": "STUB_DIRECTORY/read_valid_015.json",
439447 "baseUri": "http://localhost:8000"
440448 }
441449 }
0 commit comments