Permalink
Browse files

Fix expectations for illformed sample author+email assertation

  • Loading branch information...
1 parent 033e801 commit ce8ae5088c54fc35488700db9c92e4d4ea6b19f6 @meldra meldra committed Dec 14, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 samples/illformed_atom10.xml
  2. +1 −1 tests/MalformedFeedTest.php
@@ -1,6 +1,6 @@
<!--
Description: entry author name
-Expect: bozo and entries[0]['author_detail']['name'] == u'Example author'
+Expect: bozo and entries[0]['author_detail']['name'] == u'Example author (me@example.com)'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
@@ -10,4 +10,4 @@ Expect: bozo and entries[0]['author_detail']['name'] == u'Example author'
<uri>http://example.com/</uri>
</author>
</entry>
-</feed
+</feed
@@ -20,7 +20,7 @@ function test_Tidy() {
$feed = new XML_Feed_Parser($file, false, true, true);
$entry = $feed->getEntryByOffset(0);
- $this->assertEquals($entry->author, 'Example author');
+ $this->assertEquals($entry->author, 'Example author (me@example.com)');
}
}

0 comments on commit ce8ae50

Please sign in to comment.