Development

Changeset 7364

You must first sign up to be able to contribute.

Changeset 7364

Show
Ignore:
Timestamp:
02/06/08 11:29:29 (10 months ago)
Author:
pookey
Message:

test case for r7363

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/test/unit/routing/sfPatternRoutingTest.php

    r6126 r7364  
    1111require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 
    1212 
    13 $t = new lime_test(67, new lime_output_color()); 
     13$t = new lime_test(70, new lime_output_color()); 
    1414 
    1515class sfPatternRoutingTest extends sfPatternRouting 
     
    292292$r->parse('/module/action/2'); 
    293293$t->is($r->getCurrentInternalUri(true), '@test2?id=2', '->getCurrentInternalUri() returns the internal URI for last parsed URL'); 
     294// these tests are against r7363 
     295$t->is($r->getCurrentInternalUri(false), 'foo/bar?id=2', '->getCurrentInternalUri() returns the internal URI for last parsed URL'); 
     296$t->is($r->getCurrentInternalUri(true), '@test2?id=2', '->getCurrentInternalUri() returns the internal URI for last parsed URL'); 
     297$t->is($r->getCurrentInternalUri(false), 'foo/bar?id=2', '->getCurrentInternalUri() returns the internal URI for last parsed URL');