浏览代码

generalize

euromark 11 年之前
父节点
当前提交
54fec04c5a
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Test/Case/View/RssViewTest.php

+ 4 - 4
Test/Case/View/RssViewTest.php

@@ -473,7 +473,7 @@ RSS;
 			),
 			),
 			'items' => array(
 			'items' => array(
 				array('title' => 'Title One', 'link' => array('controller' => 'foo', 'action' => 'bar'), 'description' => 'Content one',
 				array('title' => 'Title One', 'link' => array('controller' => 'foo', 'action' => 'bar'), 'description' => 'Content one',
-					'enclosure' => array('url' => 'http://www.w3schools.com/media/3d.wmv', 'length' => 78645, 'type' => 'video/wmv')),
+					'enclosure' => array('url' => 'http://www.example.com/media/3d.wmv', 'length' => 78645, 'type' => 'video/wmv')),
 			)
 			)
 		);
 		);
 		$Controller->set(array('channel' => $data, '_serialize' => 'channel'));
 		$Controller->set(array('channel' => $data, '_serialize' => 'channel'));
@@ -491,7 +491,7 @@ RSS;
       <title>Title One</title>
       <title>Title One</title>
       <link>$this->baseUrl/foo/bar</link>
       <link>$this->baseUrl/foo/bar</link>
       <description>Content one</description>
       <description>Content one</description>
-      <enclosure url="http://www.w3schools.com/media/3d.wmv" length="78645" type="video/wmv"/>
+      <enclosure url="http://www.example.com/media/3d.wmv" length="78645" type="video/wmv"/>
     </item>
     </item>
   </channel>
   </channel>
 </rss>
 </rss>
@@ -516,7 +516,7 @@ RSS;
 			),
 			),
 			'items' => array(
 			'items' => array(
 				array('title' => 'Title One', 'link' => array('controller' => 'foo', 'action' => 'bar'), 'description' => 'Content one',
 				array('title' => 'Title One', 'link' => array('controller' => 'foo', 'action' => 'bar'), 'description' => 'Content one',
-					'foo' => array('@url' => 'http://www.w3schools.com/media/3d.wmv', '@length' => 78645, '@type' => 'video/wmv')),
+					'foo' => array('@url' => 'http://www.example.com/media/3d.wmv', '@length' => 78645, '@type' => 'video/wmv')),
 			)
 			)
 		);
 		);
 		$Controller->set(array('channel' => $data, '_serialize' => 'channel'));
 		$Controller->set(array('channel' => $data, '_serialize' => 'channel'));
@@ -534,7 +534,7 @@ RSS;
       <title>Title One</title>
       <title>Title One</title>
       <link>$this->baseUrl/foo/bar</link>
       <link>$this->baseUrl/foo/bar</link>
       <description>Content one</description>
       <description>Content one</description>
-      <foo url="http://www.w3schools.com/media/3d.wmv" length="78645" type="video/wmv"/>
+      <foo url="http://www.example.com/media/3d.wmv" length="78645" type="video/wmv"/>
     </item>
     </item>
   </channel>
   </channel>
 </rss>
 </rss>