Skip to content

Commit f7457f0

Browse files
committed
POMTest: update tests to reflect new project URL
1 parent d1a39ae commit f7457f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/org/scijava/util/POMTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ public void testAccessors() throws ParserConfigurationException,
109109
"SciJava Common is a shared library for SciJava software."));
110110
assertEquals("2009", pom.getProjectInceptionYear());
111111
assertEquals("SciJava Common", pom.getProjectName());
112-
assertEquals("http://scijava.org/", pom.getProjectURL());
112+
assertEquals("https://github.com/scijava/scijava-common", //
113+
pom.getProjectURL());
113114
final String scmConnection = pom.getSCMConnection();
114115
assertEquals("scm:git:git://github.com/scijava/scijava-common",
115116
scmConnection);
@@ -126,7 +127,8 @@ public void testCdata() throws ParserConfigurationException,
126127
{
127128
final POM pom = new POM(new File("pom.xml"));
128129
assertEquals("repo", pom.cdata("//project/licenses/license/distribution"));
129-
assertEquals("http://scijava.org/", pom.cdata("//project/url"));
130+
assertEquals("https://github.com/scijava/scijava-common", //
131+
pom.cdata("//project/url"));
130132
}
131133

132134
@Test

0 commit comments

Comments
 (0)