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 2
2
3
3
namespace Suin \RSSWriter ;
4
4
5
- class ItemTest extends \XoopsUnit \TestCase
5
+ use XoopsUnit \TestCase ;
6
+
7
+ class ItemTest extends TestCase
6
8
{
7
9
private $ channelInterface = '\Suin\RSSWriter\ChannelInterface ' ;
8
10
@@ -141,7 +143,7 @@ public function testAsXML()
141
143
<description> {$ data ['description ' ]}</description>
142
144
<category> {$ data ['categories ' ][0 ][0 ]}</category>
143
145
<category domain= \"{$ data ['categories ' ][1 ][1 ]}\"> {$ data ['categories ' ][1 ][0 ]}</category>
144
- <guid> {$ data ['guid ' ]}</guid>
146
+ <guid isPermaLink= \" true \" > {$ data ['guid ' ]}</guid>
145
147
<pubDate> {$ nowString }</pubDate>
146
148
<enclosure url= \"{$ data ['enclosure ' ]['url ' ]}\" type= \"{$ data ['enclosure ' ]['type ' ]}\" length= \"{$ data ['enclosure ' ]['length ' ]}\"/>
147
149
<author> {$ data ['author ' ]}</author>
@@ -152,8 +154,6 @@ public function testAsXML()
152
154
153
155
public function testAsXML_test_Japanese ()
154
156
{
155
- $ now = time ();
156
-
157
157
$ data = array (
158
158
'title ' => "Venice Film Festival " ,
159
159
'url ' => 'http://nytimes.com/2004/12/07FEST.html ' ,
You can’t perform that action at this time.
0 commit comments