Skip to content

Commit 4af02c8

Browse files
committed
correct the github url location for the remote file
1 parent 42900f5 commit 4af02c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/com/networknt/schema/UriMappingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void testBuilderUriMappingUri() throws IOException {
4343
.addUriMappings(getUriMappingsFromUrl(mappings));
4444
JsonSchemaFactory instance = builder.build();
4545
JsonSchema schema = instance.getSchema(this.urlFactory.create(
46-
"https://raw.githubusercontent.com/networknt/json-schema-validator/master/src/test/resources/tests/uri_mapping/uri-mapping.schema.json"));
46+
"https://raw.githubusercontent.com/networknt/json-schema-validator/master/src/test/resources/draft4/uri_mapping/uri-mapping.schema.json"));
4747
assertEquals(0, schema.validate(mapper.readTree(mappings)).size());
4848
}
4949

src/test/resources/draft4/uri_mapping/uri-mapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"localURL": "resource:/draftv4.schema.json"
55
},
66
{
7-
"publicURL": "https://raw.githubusercontent.com/networknt/json-schema-validator/master/src/test/resources/tests/uri_mapping/uri-mapping.schema.json",
7+
"publicURL": "https://raw.githubusercontent.com/networknt/json-schema-validator/master/src/test/resources/draft4/uri_mapping/uri-mapping.schema.json",
88
"localURL": "resource:/draft4/uri_mapping/uri-mapping.schema.json"
99
}
1010
]

0 commit comments

Comments
 (0)