incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From der...@apache.org
Subject [zeta-commits] svn commit: r1180912 - /incubator/zetacomponents/trunk/MvcTools/tests/router.php
Date Mon, 10 Oct 2011 12:14:44 GMT
Author: derick
Date: Mon Oct 10 12:14:44 2011
New Revision: 1180912

URL: http://svn.apache.org/viewvc?rev=1180912&view=rev
Log:
Fixed test case by removing the assertion. The regexp route now supports
reversion due to SVN rev. 978782.

Modified:
    incubator/zetacomponents/trunk/MvcTools/tests/router.php

Modified: incubator/zetacomponents/trunk/MvcTools/tests/router.php
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/trunk/MvcTools/tests/router.php?rev=1180912&r1=1180911&r2=1180912&view=diff
==============================================================================
--- incubator/zetacomponents/trunk/MvcTools/tests/router.php (original)
+++ incubator/zetacomponents/trunk/MvcTools/tests/router.php Mon Oct 10 12:14:44 2011
@@ -198,15 +198,6 @@ class ezcMvcToolsRouterTest extends ezcT
         $router = new testNamedRouter( $request );
         try
         {
-            $foo = $router->generateUrl( 'no-reverse' );
-            self::fail( 'Expected exception not thrown.' );
-        }
-        catch ( ezcMvcNamedRouteNotReversableException $e )
-        {
-            self::assertEquals( "The route with name 'no-reverse' is of the 'testRegexpRoute'
class, which does not support reversed route generation.", $e->getMessage() );
-        }
-        try
-        {
             $foo = $router->generateUrl( 'catchall' );
             self::fail( 'Expected exception not thrown.' );
         }



Mime
View raw message