diff --git a/test/Writer/FeedTest.php b/test/Writer/FeedTest.php index 05f38c08..97f30c0f 100644 --- a/test/Writer/FeedTest.php +++ b/test/Writer/FeedTest.php @@ -13,6 +13,7 @@ use DateTime; use Zend\Feed\Writer; use Zend\Feed\Writer\Feed; +use Zend\Version\Version; /** * @category Zend @@ -1017,12 +1018,13 @@ public function testExportRss() foo bar - Zend_Feed_Writer 2.0.1 (http://framework.zend.com) + Zend_Feed_Writer %version% (http://framework.zend.com) http://www.example.org EOT; + $feed = str_replace('%version%', Version::VERSION, $feed); $this->assertEquals($feed, $export); } @@ -1038,11 +1040,12 @@ public function testExportRssIgnoreExceptions() - Zend_Feed_Writer 2.0.1 (http://framework.zend.com) + Zend_Feed_Writer %version% (http://framework.zend.com) EOT; + $feed = str_replace('%version%', Version::VERSION, $feed); $this->assertEquals($feed, $export); }