Skip to content

Commit

Permalink
change place that variable definition #605
Browse files Browse the repository at this point in the history
  • Loading branch information
btyanagawamg committed Mar 3, 2017
1 parent 6d1680a commit fc47d8b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ public void test01_03_redirectToExternalLink() {

driver.findElement(By.id("btn1")).click();

String expectedErrorMessage;

// Unlike other application servers, WebSphere Liberty Profile & WebSphere traditional wraps an unexpected exception of ServletException.
// So the expected error page is different.
String expectedErrorMessage;
if (apServerName == ApServerName.WEBSPHERELP || apServerName == ApServerName.WEBSPHERETR) {
expectedErrorMessage = "System Error...";
} else {
Expand Down

0 comments on commit fc47d8b

Please sign in to comment.