[Yanel-commits] rev 43802 - public/yanel/trunk/src/test/htmlunit/org/wyona/yanel/htmlunit/yanelwebsite

guillaume at wyona.com guillaume at wyona.com
Fri Jul 24 14:20:02 CEST 2009


Author: guillaume
Date: 2009-07-24 14:20:02 +0200 (Fri, 24 Jul 2009)
New Revision: 43802

Modified:
   public/yanel/trunk/src/test/htmlunit/org/wyona/yanel/htmlunit/yanelwebsite/GlobalDataWebTest.java
Log:
Ooops, forgot to fix the HTTPUnit tests according to the refactoring in revision 43801...

Issue: 6897


Modified: public/yanel/trunk/src/test/htmlunit/org/wyona/yanel/htmlunit/yanelwebsite/GlobalDataWebTest.java
===================================================================
--- public/yanel/trunk/src/test/htmlunit/org/wyona/yanel/htmlunit/yanelwebsite/GlobalDataWebTest.java	2009-07-24 11:43:47 UTC (rev 43801)
+++ public/yanel/trunk/src/test/htmlunit/org/wyona/yanel/htmlunit/yanelwebsite/GlobalDataWebTest.java	2009-07-24 12:20:02 UTC (rev 43802)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008 Wyona
+ * Copyright 2008, 2009 Wyona
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -55,8 +55,7 @@
         //XXX: IMHO ( see http://lists.wyona.org/pipermail/yanel-development/2008-December/002514.html ) this should instead redirect to a login page or at least fail gracefully:
         loadReservedErrorPage("users/dummy.html", 500);
 
-        loadReservedResource("user-mgmt/list-users.html");
-        assertEquals(0, response.getResponseBody().length);
+        loadReservedResource("user-mgmt/list-users.html", 404);
     }
 
     public void testDataRepoSitetreePage() throws Exception {



More information about the Yanel-commits mailing list