Skip to content

Commit ec9c487

Browse files
committed
Tests: adapt to rename in core test infrastructure.
1 parent 9c7d0c3 commit ec9c487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

junit/io/sf/carte/doc/agent/net/WrapperUserAgentTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.junit.Test;
2626

2727
import io.sf.carte.doc.DocumentException;
28-
import io.sf.carte.doc.agent.MockURLFactory;
28+
import io.sf.carte.doc.agent.MockURLConnectionFactory;
2929
import io.sf.carte.doc.style.css.CSSDocument;
3030
import io.sf.carte.doc.style.css.om.DOMCSSStyleSheetFactory;
3131
import io.sf.carte.doc.style.css.om.DOMCSSStyleSheetFactory.WrapperUserAgent;
@@ -48,10 +48,10 @@ public void testGetUserAgent() throws MalformedURLException, IOException, Docume
4848
throw new DocumentException("Error creating a document builder", e);
4949
}
5050
agent.setDocumentBuilder(docbuilder);
51-
CSSDocument doc = agent.readURL(new URL(MockURLFactory.SAMPLE_URL));
51+
CSSDocument doc = agent.readURL(new URL(MockURLConnectionFactory.SAMPLE_URL));
5252
assertNotNull(doc);
5353
assertEquals("http://www.example.com/", doc.getBaseURI());
54-
assertEquals(MockURLFactory.SAMPLE_URL, doc.getDocumentURI());
54+
assertEquals(MockURLConnectionFactory.SAMPLE_URL, doc.getDocumentURI());
5555
assertEquals("same-origin", doc.getReferrerPolicy());
5656
}
5757

0 commit comments

Comments
 (0)