From ff8d731594b770eacad47dbb9d67025a1810ea65 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Tue, 10 Jan 2017 19:41:59 +0100 Subject: [PATCH] Fixes test to match fixed error message --- .../apache/struts2/interceptor/FileUploadInterceptorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java b/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java index 5ac4bc2a3d..0224f6873c 100644 --- a/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java +++ b/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java @@ -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); }