Fixed startup issue if custom client configuration was in place

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-02-07 17:48:04 +00:00
parent 9a50b7d471
commit f796f0f9dc
3 changed files with 69 additions and 14 deletions

View File

@@ -249,7 +249,8 @@ public class WebClientConfigTest extends BaseTest
getConfigElement(ClientConfigElement.CONFIG_ELEMENT_ID);
assertNotNull("client config", clientConfig);
assertEquals("error page", "/jsp/error-override.jsp", clientConfig.getErrorPage());
// make sure the error page is still set as the default
assertEquals("error page", "/jsp/error.jsp", clientConfig.getErrorPage());
assertEquals("login page", "/jsp/login-override.jsp", clientConfig.getLoginPage());
assertEquals("home space permission", "Editor", clientConfig.getHomeSpacePermission());
assertEquals("help url", "http://www.somewhere.com/help", clientConfig.getHelpUrl());