Fix testNodeFeedExtraChannelElements().
parent
4899a97a21
commit
11255cdbc1
|
@ -1781,11 +1781,8 @@ class NodeFeedTestCase extends DrupalWebTestCase {
|
||||||
* Ensure that node_feed accepts and prints extra channel elements.
|
* Ensure that node_feed accepts and prints extra channel elements.
|
||||||
*/
|
*/
|
||||||
function testNodeFeedExtraChannelElements() {
|
function testNodeFeedExtraChannelElements() {
|
||||||
ob_start();
|
$response = node_feed(array(), array('copyright' => 'Drupal is a registered trademark of Dries Buytaert.'));
|
||||||
node_feed(array(), array('copyright' => 'Drupal is a registered trademark of Dries Buytaert.'));
|
$this->assertTrue(strpos($response->getContent(), '<copyright>Drupal is a registered trademark of Dries Buytaert.</copyright>') !== FALSE);
|
||||||
$output = ob_get_clean();
|
|
||||||
|
|
||||||
$this->assertTrue(strpos($output, '<copyright>Drupal is a registered trademark of Dries Buytaert.</copyright>') !== FALSE);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue