File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace Suin \RSSWriter ;
44
5- class ItemTest extends \XoopsUnit \TestCase
5+ use XoopsUnit \TestCase ;
6+
7+ class ItemTest extends TestCase
68{
79 private $ channelInterface = '\Suin\RSSWriter\ChannelInterface ' ;
810
@@ -141,7 +143,7 @@ public function testAsXML()
141143 <description> {$ data ['description ' ]}</description>
142144 <category> {$ data ['categories ' ][0 ][0 ]}</category>
143145 <category domain= \"{$ data ['categories ' ][1 ][1 ]}\"> {$ data ['categories ' ][1 ][0 ]}</category>
144- <guid> {$ data ['guid ' ]}</guid>
146+ <guid isPermaLink= \" true \" > {$ data ['guid ' ]}</guid>
145147 <pubDate> {$ nowString }</pubDate>
146148 <enclosure url= \"{$ data ['enclosure ' ]['url ' ]}\" type= \"{$ data ['enclosure ' ]['type ' ]}\" length= \"{$ data ['enclosure ' ]['length ' ]}\"/>
147149 <author> {$ data ['author ' ]}</author>
@@ -152,8 +154,6 @@ public function testAsXML()
152154
153155 public function testAsXML_test_Japanese ()
154156 {
155- $ now = time ();
156-
157157 $ data = array (
158158 'title ' => "Venice Film Festival " ,
159159 'url ' => 'http://nytimes.com/2004/12/07FEST.html ' ,
You can’t perform that action at this time.
0 commit comments