Author: weaverryan
Date: 2010-02-06 02:27:22 +0100 (Sat, 06 Feb 2010)
New Revision: 27614

Modified:
   plugins/sfSympalPlugin/trunk/test/fixtures/project/web/sfDoctrinePlugin
   plugins/sfSympalPlugin/trunk/test/functional/RedirectsTest.php
Log:
Changing the redirects to be 301 redirects and updating the tests to check for 
this.


Modified: 
plugins/sfSympalPlugin/trunk/test/fixtures/project/web/sfDoctrinePlugin
===================================================================
--- plugins/sfSympalPlugin/trunk/test/fixtures/project/web/sfDoctrinePlugin     
2010-02-05 23:43:21 UTC (rev 27613)
+++ plugins/sfSympalPlugin/trunk/test/fixtures/project/web/sfDoctrinePlugin     
2010-02-06 01:27:22 UTC (rev 27614)
@@ -1 +1 @@
-link ../../../../../symfonysvn/1.4/lib/plugins/sfDoctrinePlugin/web
\ No newline at end of file
+link ../../../../../../lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/web
\ No newline at end of file

Modified: plugins/sfSympalPlugin/trunk/test/functional/RedirectsTest.php
===================================================================
--- plugins/sfSympalPlugin/trunk/test/functional/RedirectsTest.php      
2010-02-05 23:43:21 UTC (rev 27613)
+++ plugins/sfSympalPlugin/trunk/test/functional/RedirectsTest.php      
2010-02-06 01:27:22 UTC (rev 27614)
@@ -28,6 +28,7 @@
 $browser->
   get('/test_redirect1/test1/ok/test2')->
   with('response')->begin()->
+    isStatusCode(301)->
     isRedirected()->
     followRedirect()->
   end()->
@@ -41,6 +42,7 @@
 $browser->
   get('/test_redirect2')->
   with('response')->begin()->
+    isStatusCode(301)->
     isRedirected()->
     followRedirect()->
   end()->
@@ -56,6 +58,7 @@
 $browser->
   get('/test_redirect3/test1/ok/test2')->
   with('response')->begin()->
+    isStatusCode(301)->
     isRedirected()->
     followRedirect()->
   end()->

-- 
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.

Reply via email to