Skip to content

Commit

Permalink
#272 url
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 7, 2024
1 parent 9a79404 commit c3c31b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/jcabi/xml/StrictXMLTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
package com.jcabi.xml;

import com.google.common.collect.Iterables;
import com.yegor256.OnlineMeans;
import com.yegor256.WeAreOnline;
import java.io.IOException;
import java.net.InetAddress;
Expand Down Expand Up @@ -107,6 +108,7 @@ void rejectsInvalidXmlThrough() {

@Test
@ExtendWith(WeAreOnline.class)
@OnlineMeans(url = "http://maven.apache.org")
void passesValidXmlUsingXsiSchemaLocation() throws Exception {
new StrictXML(
new XMLDocument(
Expand All @@ -117,6 +119,7 @@ void passesValidXmlUsingXsiSchemaLocation() throws Exception {

@Test
@ExtendWith(WeAreOnline.class)
@OnlineMeans(url = "http://maven.apache.org")
void rejectsInvalidXmlUsingXsiSchemaLocation() {
Assertions.assertThrows(
IllegalStateException.class,
Expand Down

0 comments on commit c3c31b8

Please sign in to comment.