velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r803413 - /velocity/tools/trunk/src/test/java/org/apache/velocity/tools/test/blackbox/ViewToolsTests.java
Date Wed, 12 Aug 2009 08:30:21 GMT
Author: cbrisson
Date: Wed Aug 12 08:30:20 2009
New Revision: 803413

URL: http://svn.apache.org/viewvc?rev=803413&view=rev
Log:
minor fix to ViewToolsTests

Modified:
    velocity/tools/trunk/src/test/java/org/apache/velocity/tools/test/blackbox/ViewToolsTests.java

Modified: velocity/tools/trunk/src/test/java/org/apache/velocity/tools/test/blackbox/ViewToolsTests.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/test/java/org/apache/velocity/tools/test/blackbox/ViewToolsTests.java?rev=803413&r1=803412&r2=803413&view=diff
==============================================================================
--- velocity/tools/trunk/src/test/java/org/apache/velocity/tools/test/blackbox/ViewToolsTests.java
(original)
+++ velocity/tools/trunk/src/test/java/org/apache/velocity/tools/test/blackbox/ViewToolsTests.java
Wed Aug 12 08:30:20 2009
@@ -172,7 +172,7 @@
         /* check language */
         req.setHeaderField("Accept-Language","en");
         resp = conv.getResponse(req);
-        checkText(resp,"prefLang","en");
+        checkText(resp,"preferredLanguage","en");
         req.setHeaderField("Accept-Language","en-US,en;q=0.8");
         resp = conv.getResponse(req);
         checkText(resp,"preferredLanguage","en");



Mime
View raw message