Skip to content

Commit 6663139

Browse files
committed
ErrorHandler: Don't render "The requested page cannot be found." for configuration errors
1 parent 2017d4a commit 6663139

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/org/labkey/test/tests/LabkeyErrorPageTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void testServerConfigurationErrors()
102102

103103
checker().verifyEquals("Incorrect error heading message", "Oops! A server configuration error has occurred.",
104104
errorPage.getErrorHeading());
105-
checker().verifyEquals("Incorrect error sub-heading message", "The requested page cannot be found. You have a configuration problem.",
105+
checker().verifyEquals("Incorrect error sub-heading message", "You have a configuration problem.",
106106
errorPage.getSubErrorHeading());
107107
checker().verifyThat("Incorrect error image", errorPage.getErrorImage(), CoreMatchers.containsString(imageTitle));
108108
checker().verifyTrue("'Show Details' button should appear on configuration error page",

0 commit comments

Comments
 (0)