Fixed test case by removing the assertion. The regexp route now supports
reversion due to SVN rev. 978782.
git-svn-id: https://svn.apache.org/repos/asf/incubator/zetacomponents/trunk@1180912 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/MvcTools/tests/router.php b/MvcTools/tests/router.php
index 1e1498d..c425f76 100644
--- a/MvcTools/tests/router.php
+++ b/MvcTools/tests/router.php
@@ -198,15 +198,6 @@
$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.' );
}