manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1538889 - /manifoldcf/integration/elasticsearch/trunk/src/test/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerTest.java
Date Tue, 05 Nov 2013 07:33:23 GMT
Author: kwright
Date: Tue Nov  5 07:33:22 2013
New Revision: 1538889

URL: http://svn.apache.org/r1538889
Log:
Test reverts to being backwards-compatible

Modified:
    manifoldcf/integration/elasticsearch/trunk/src/test/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerTest.java

Modified: manifoldcf/integration/elasticsearch/trunk/src/test/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerTest.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch/trunk/src/test/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerTest.java?rev=1538889&r1=1538888&r2=1538889&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch/trunk/src/test/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerTest.java
(original)
+++ manifoldcf/integration/elasticsearch/trunk/src/test/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizerTest.java
Tue Nov  5 07:33:22 2013
@@ -346,7 +346,7 @@ public class MCFAuthorizerTest
       @Override
       public void service(HttpServletRequest req, HttpServletResponse res)
           throws IOException {
-        String user = req.getParameter("username_0");
+        String user = req.getParameter("username");
         res.setStatus(HttpServletResponse.SC_OK);
         if(user.equals("user1") || user.equals("user2") || user.equals("user3"))
           res.getWriter().printf("TOKEN:token1\n");



Mime
View raw message