Skip to content
Snippets Groups Projects
Commit 60e1bf48 authored by tpylak's avatar tpylak
Browse files

LMS-1275 minor: fix tests

SVN: 13750
parent 36495c47
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ public final class WebClientFilesUpdater ...@@ -44,7 +44,7 @@ public final class WebClientFilesUpdater
@Private @Private
static final String SOURCE_TAG_TEMPLATE = static final String SOURCE_TAG_TEMPLATE =
"<source path=\"plugin/%1$s/client/web/client\"/>\n" "<source path=\"plugin/%1$s/client/web/client\"/>\n"
+ "\t\t<source path=\"plugin/%1$s/shared/basic\"/>"; + " <source path=\"plugin/%1$s/shared/basic\"/>";
@Private @Private
static final String SCRIPT_TAG_TEMPLATE = "<script src=\"%s-dictionary.js\"/>"; static final String SCRIPT_TAG_TEMPLATE = "<script src=\"%s-dictionary.js\"/>";
......
...@@ -108,12 +108,12 @@ public final class WebClientFilesUpdaterTest extends AbstractFileSystemTestCase ...@@ -108,12 +108,12 @@ public final class WebClientFilesUpdaterTest extends AbstractFileSystemTestCase
assertEquals(OPENBIS_GWT_XML_FILE_CONTENT, FileUtils.readFileToString(openBISGwtXmlFile)); assertEquals(OPENBIS_GWT_XML_FILE_CONTENT, FileUtils.readFileToString(openBISGwtXmlFile));
filesUpdater.updateOpenBISGwtXmlFile(); filesUpdater.updateOpenBISGwtXmlFile();
assertEquals("<!-- Automatically generated part - START -->\n" assertEquals("<!-- Automatically generated part - START -->\n"
+ " <!-- Demo plugin -->\n" + " <!-- Demo plugin -->\n" + " <script src=\"demo-dictionary.js\"/>\n"
+ " <script src=\"demo-dictionary.js\"/>\n"
+ " <public path=\"plugin/demo/client/web/public\"/>\n" + " <public path=\"plugin/demo/client/web/public\"/>\n"
+ " <source path=\"plugin/demo/client/web/client\"/>\n" + " <source path=\"plugin/demo/client/web/client\"/>\n"
+ " <!-- Automatically generated part - END -->\n", + " <source path=\"plugin/demo/shared/basic\"/>\n"
FileUtils.readFileToString(openBISGwtXmlFile)); + " <!-- Automatically generated part - END -->\n", FileUtils
.readFileToString(openBISGwtXmlFile));
} }
@Test @Test
......
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