cvs: pear /XML_Feed_Parser/tests atomEntryOnly.php atomValues.php

From: Date: Sat, 15 Oct 2005 15:12:27 +0000
Subject: cvs: pear /XML_Feed_Parser/tests atomEntryOnly.php atomValues.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35580@lists.php.net to get a copy of this message
jystewart Sat Oct 15 11:12:27 2005 EDT Modified files: /pear/XML_Feed_Parser/tests atomEntryOnly.php atomValues.php Log: Fixed reference to sample file in atomValues Fixed bad sample text in atomEntryOnly http://cvs.php.net/diff.php/pear/XML_Feed_Parser/tests/atomEntryOnly.php?r1=1.1&r2=1.2&ty=u Index: pear/XML_Feed_Parser/tests/atomEntryOnly.php diff -u pear/XML_Feed_Parser/tests/atomEntryOnly.php:1.1 pear/XML_Feed_Parser/tests/atomEntryOnly.php:1.2 --- pear/XML_Feed_Parser/tests/atomEntryOnly.php:1.1 Tue Oct 11 10:29:50 2005 +++ pear/XML_Feed_Parser/tests/atomEntryOnly.php Sat Oct 15 11:12:26 2005 @@ -56,7 +56,7 @@ function test_Content() { - $value = trim("<div xmlns=\"http://www.w3.org/1999/xhtml\"> <p><i>[Update: The Atom draft is finished.]</i></p> </div>"); + $value = "<p><i>[Update: The Atom draft is finished.]</i></p>"; $content = trim(preg_replace("/\t/", " ", $this->entry->content)); $content = preg_replace("/(\s\s)+/", " ", $content); $this->assertEquals($content, $value); http://cvs.php.net/diff.php/pear/XML_Feed_Parser/tests/atomValues.php?r1=1.3&r2=1.4&ty=u Index: pear/XML_Feed_Parser/tests/atomValues.php diff -u pear/XML_Feed_Parser/tests/atomValues.php:1.3 pear/XML_Feed_Parser/tests/atomValues.php:1.4 --- pear/XML_Feed_Parser/tests/atomValues.php:1.3 Sat Oct 15 10:58:49 2005 +++ pear/XML_Feed_Parser/tests/atomValues.php Sat Oct 15 11:12:26 2005 @@ -9,7 +9,7 @@ function __construct($name) { $this->PHPUnit_TestCase($name); - $this->file = file_get_contents("../samples/hoder.xml"); + $this->file = file_get_contents("../samples/atom10-example2.xml"); $this->feed = new XML_Feed_Parser($this->file); $this->entry = $this->feed->getEntryByOffset(0); }

« previous php.pear.cvs (#35580) next »