diff options
Diffstat (limited to 'src/test/java/io')
-rw-r--r-- | src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java b/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java index 63ae319..2d5945e 100644 --- a/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java +++ b/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java @@ -11,12 +11,12 @@ public class TestXmlParsing extends TestCase { try (InputStream stream = getClass().getResourceAsStream("/gitorious/projects-2.xml")) { Document document = GitoriousClient.xmlReader.readDocument(stream); - List<GitoriousProject> projects = GitoriousProject.projectsFromXml("http://gitorious.org", document.getRootElement()); + List<GitoriousProjectXml> projects = GitoriousProjectXml.projectsFromXml(document.getRootElement()); assertNotNull(projects); assertEquals(20, projects.size()); - GitoriousProject project = projects.get(3); + GitoriousProjectXml project = projects.get(3); assertEquals("aed-ii", project.slug); assertEquals(2, project.repositories.size()); } |