Skip to content
Snippets Groups Projects
Commit 4768c800 authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

XCOMMONS-703: Allow associating a version different than the extension version to a feature

* fix test
parent d8119146
No related branches found
No related tags found
No related merge requests found
......@@ -427,7 +427,7 @@ public void testImportExtension() throws Exception
Assert.assertEquals("summary2\n some more details", extension.getDescription());
Assert.assertEquals(this.baseAuthor.getName(), extension.getAuthors().get(0).getName());
Assert.assertEquals(this.baseAuthor.getURL().toString(), extension.getAuthors().get(0).getUrl());
Assert.assertEquals(Arrays.asList("maven:oldextension/0.9"), extension.getFeatures());
Assert.assertEquals(Arrays.asList(), extension.getFeatures());
Assert.assertEquals("GNU Lesser General Public License 2.1", extension.getLicenses().get(0).getName());
Assert.assertEquals(fileSize,
......
......@@ -39,6 +39,9 @@
<url>http://profile</url>
</developer>
</developers>
<properties>
<xwiki.extension.features>maven:oldextension</xwiki.extension.features>
</properties>
<licenses>
<license>
<name>LGPL 2.1</name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment