06.06 php saved
renan_saddam
Tags add more
 
Note
RssHelper Test.
Corrects user offset and html encoded string
  1. Index: C:/Projetos/Cake_1.2.x.x/cake/tests/cases/libs/view/helpers/rss.test.php
  2. ===================================================================
  3. --- C:/Projetos/Cake_1.2.x.x/cake/tests/cases/libs/view/helpers/rss.test.php    (revision 7130)
  4. +++ C:/Projetos/Cake_1.2.x.x/cake/tests/cases/libs/view/helpers/rss.test.php    (working copy)
  5. @@ -216,7 +216,7 @@
  6.           '<![CDATA[descriptive words]]',
  7.           '/description',
  8.           '<pubDate',
  9. -         'Sat, 31 May 2008 12:00:00 -0400',
  10. +         'Sat, 31 May 2008 12:00:00 ' . date('O'),
  11.           '/pubDate',
  12.           '<guid',
  13.           'http://www.example.com/1',
  14. @@ -251,7 +251,7 @@
  15.        $expected = array(
  16.           '<item',
  17.           '<title',
  18. -         'My Title & more',
  19. +         'My Title & more',
  20.           '/title',
  21.           '/item'
  22.        );
  23.  
Parsed in 0.025 seconds, using GeSHi 1.0.7.14

Modify this Paste