Skip to content

Commit

Permalink
Fixes test to match fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Jan 10, 2017
1 parent 880c4c2 commit ff8d731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void testAcceptFileWithMaxSize() throws Exception {
assertEquals(1, errors.size());
String msg = (String) errors.get(0);
// the error message should contain at least this test
assertTrue(msg.startsWith("The file is to large to be uploaded"));
assertTrue(msg.startsWith("The file is too large to be uploaded"));
assertTrue(msg.indexOf("inputName") > 0);
assertTrue(msg.indexOf("log4j2.xml") > 0);
}
Expand Down

0 comments on commit ff8d731

Please sign in to comment.