mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
ALF-17671: Fix broken test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -516,7 +516,7 @@ public class WikiRestApiTest extends BaseWebScriptTest
|
||||
// Have it renamed
|
||||
page = renamePage(PAGE_TITLE_TWO, PAGE_TITLE_THREE, Status.STATUS_OK);
|
||||
name2 = PAGE_TITLE_THREE.replace(' ', '_');
|
||||
assertEquals(name2, page.getString("name"));
|
||||
assertEquals(PAGE_TITLE_THREE, page.getString("title"));
|
||||
|
||||
|
||||
// Fetch it at the new address
|
||||
@@ -529,7 +529,7 @@ public class WikiRestApiTest extends BaseWebScriptTest
|
||||
page = getPage(name, Status.STATUS_OK);
|
||||
assertEquals(name, page.getString("name"));
|
||||
assertEquals(PAGE_TITLE_TWO, page.getString("title"));
|
||||
assertEquals("This page has been moved [["+name2+"|here]].", page.getString("pagetext"));
|
||||
assertEquals("This page has been moved [["+PAGE_TITLE_THREE+"|here]].", page.getString("pagetext"));
|
||||
|
||||
|
||||
// Ensure you can't rename onto an existing page
|
||||
|
Reference in New Issue
Block a user