Skip to content

Commit c3c31b8

Browse files
committed
#272 url
1 parent 9a79404 commit c3c31b8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/test/java/com/jcabi/xml/StrictXMLTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
package com.jcabi.xml;
3131

3232
import com.google.common.collect.Iterables;
33+
import com.yegor256.OnlineMeans;
3334
import com.yegor256.WeAreOnline;
3435
import java.io.IOException;
3536
import java.net.InetAddress;
@@ -107,6 +108,7 @@ void rejectsInvalidXmlThrough() {
107108

108109
@Test
109110
@ExtendWith(WeAreOnline.class)
111+
@OnlineMeans(url = "http://maven.apache.org")
110112
void passesValidXmlUsingXsiSchemaLocation() throws Exception {
111113
new StrictXML(
112114
new XMLDocument(
@@ -117,6 +119,7 @@ void passesValidXmlUsingXsiSchemaLocation() throws Exception {
117119

118120
@Test
119121
@ExtendWith(WeAreOnline.class)
122+
@OnlineMeans(url = "http://maven.apache.org")
120123
void rejectsInvalidXmlUsingXsiSchemaLocation() {
121124
Assertions.assertThrows(
122125
IllegalStateException.class,

0 commit comments

Comments
 (0)