Author: FabianLange
Date: 2010-01-26 12:54:16 +0100 (Tue, 26 Jan 2010)
New Revision: 27184
Modified:
branches/1.3/test/unit/routing/sfPatternRoutingTest.php
branches/1.4/test/unit/routing/sfPatternRoutingTest.php
Log:
fixed little typo in test
Modified: branches/1.3/test/unit/routing/sfPatternRoutingTest.php
===================================================================
--- branches/1.3/test/unit/routing/sfPatternRoutingTest.php 2010-01-26
11:52:46 UTC (rev 27183)
+++ branches/1.3/test/unit/routing/sfPatternRoutingTest.php 2010-01-26
11:54:16 UTC (rev 27184)
@@ -384,8 +384,8 @@
$t->is($r->parse($url), $params, '->parse() works with segment_separators
which are not in url');
$t->is($r->generate('', $params), $url, '->generate() works with
segment_separators which are not in url');
$params = array('module' => 'default', 'action' => 'index', 'nonsegmented' =>
'foo/bar/baz');
-$t->is($r->parse('/foo/bar/baz'), $params, '->parse() works without
segment_separators');
-$t->is($r->generate('', $params), '/foo%2Fbar%2Fbaz', '->generate() works
without segment_separators');
+$t->is($r->parse('/foo/bar/baz'), $params, '->parse() works with
segment_separators which are not in url');
+$t->is($r->generate('', $params), '/foo%2Fbar%2Fbaz', '->generate() works with
segment_separators which are not in url');
$r = new sfPatternRoutingTest(new sfEventDispatcher(), null,
array_merge($options, array('variable_prefixes' => array(':', '$'))));
Modified: branches/1.4/test/unit/routing/sfPatternRoutingTest.php
===================================================================
--- branches/1.4/test/unit/routing/sfPatternRoutingTest.php 2010-01-26
11:52:46 UTC (rev 27183)
+++ branches/1.4/test/unit/routing/sfPatternRoutingTest.php 2010-01-26
11:54:16 UTC (rev 27184)
@@ -384,8 +384,8 @@
$t->is($r->parse($url), $params, '->parse() works with segment_separators
which are not in url');
$t->is($r->generate('', $params), $url, '->generate() works with
segment_separators which are not in url');
$params = array('module' => 'default', 'action' => 'index', 'nonsegmented' =>
'foo/bar/baz');
-$t->is($r->parse('/foo/bar/baz'), $params, '->parse() works without
segment_separators');
-$t->is($r->generate('', $params), '/foo%2Fbar%2Fbaz', '->generate() works
without segment_separators');
+$t->is($r->parse('/foo/bar/baz'), $params, '->parse() works with
segment_separators which are not in url');
+$t->is($r->generate('', $params), '/foo%2Fbar%2Fbaz', '->generate() works with
segment_separators which are not in url');
$r = new sfPatternRoutingTest(new sfEventDispatcher(), null,
array_merge($options, array('variable_prefixes' => array(':', '$'))));
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" 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-svn?hl=en.