@@ -30,7 +30,7 @@ public function testRender()
30
30
$ channel3 ->expects ($ this ->once ())->method ('asXML ' )->will ($ this ->returnValue ($ xml3 ));
31
31
$ this ->reveal ($ feed )->attr ('channels ' , [$ channel1 , $ channel2 , $ channel3 ]);
32
32
$ expect = '<?xml version="1.0" encoding="UTF-8" ?>
33
- <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
33
+ <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
34
34
<channel><title>channel1</title></channel>
35
35
<channel><title>channel2</title></channel>
36
36
<channel><title>channel3</title></channel>
@@ -54,7 +54,7 @@ public function testRender_with_japanese()
54
54
$ this ->reveal ($ feed )->attr ('channels ' , [$ channel1 , $ channel2 , $ channel3 ]);
55
55
$ expect = <<< 'XML'
56
56
<?xml version="1.0" encoding="UTF-8"?>
57
- <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
57
+ <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
58
58
<channel>
59
59
<title>日本語1</title>
60
60
</channel>
@@ -85,7 +85,7 @@ public function test__toString()
85
85
$ channel3 ->expects ($ this ->once ())->method ('asXML ' )->will ($ this ->returnValue ($ xml3 ));
86
86
$ this ->reveal ($ feed )->attr ('channels ' , [$ channel1 , $ channel2 , $ channel3 ]);
87
87
$ expect = '<?xml version="1.0" encoding="UTF-8" ?>
88
- <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
88
+ <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
89
89
<channel><title>channel1</title></channel>
90
90
<channel><title>channel2</title></channel>
91
91
<channel><title>channel3</title></channel>
0 commit comments