I have a very long, complicated routing.yml and I want to make sure
that when I add a new route, it doesn't conflict with any of the
existing ones.
So, I wanna write a test which does something like this...
$routing = new sfPatternRouting(new sfEventDispatcher());
...
some code to load the routes from my routing.yml
...
$t->isDeeply($routing->parse('test.html'), array('module' => 'test',
'action' => 'test'), 'test.html passes');
etc...
can anyone tell me how to load the routing.yml into my
sfPatternRouting object??
Thanks
Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---