matethurzo/liferay-portal — pull request #726 by moltam89 (2014-04-11 14:15:02+00:00)
Title: LPS-43988 Update ExportImportHelperUtilTest - Validate layoutId and groupId replacement

Hi Máté,

the fix for the issue has been already committed, however I would like to extend the tests a little bit.

The original testImportLinksToLayouts method doesn't validate the layoutId and groupId replacement which is a crucial part. When the test is running, during the import the layouts cannot be found on the live site so the Ids won't be replaced at all.

In the new test method I'm exporting/importing the layouts, so the groupIds will be different. I added some layouts to the live group, so the imported layouts will have different layoutIds as the original ones.

Tamás