Skip to content

Commit 823746c

Browse files
committed
fix: TestYaml#testSchemaExtensionPoint fails because of outdated URL
1 parent 911fc2e commit 823746c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

org.eclipse.wildwebdeveloper.tests/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
point="org.eclipse.wildwebdeveloper.json.schema">
66
<schema
77
pattern="dep.yml"
8-
url="https://json.schemastore.org/dependabot">
8+
url="https://www.schemastore.org/dependabot">
99
</schema>
1010
<schema
1111
pattern="depp.yml"

org.eclipse.wildwebdeveloper.tests/src/org/eclipse/wildwebdeveloper/tests/TestYaml.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,13 @@ private void testErrorFile(String name) throws Exception {
8484

8585
@Test
8686
public void testSchemaExtensionPoint() throws Exception {
87+
// loads remote file https://www.schemastore.org/dependabot as configured in plugin.xml
8788
testErrorFile("dep.yml");
8889
}
8990

9091
@Test
9192
public void testSchemaExtensionPointUsingPlatformURL() throws Exception {
93+
// loads local file platform:/plugin/org.eclipse.wildwebdeveloper.tests/resources/dependabot.json as configured in plugin.xml
9294
testErrorFile("depp.yml");
9395
}
9496
}

0 commit comments

Comments
 (0)