function FeedAPIOPMLTestsCase::testFeedAPI_Node_Export_OPML in FeedAPI 6
Checks if the OPML export page is basically sane.
File
- tests/
feedapi_opml.test, line 24
Class
- FeedAPIOPMLTestsCase
- Class for testing FeedAPI OPML support.
Code
function testFeedAPI_Node_Export_OPML() {
$parsers_ok = $this
->get_parsers();
// Create a new content-type for creating the feed node
$this
->create_type(array_pop($parsers_ok));
$this
->feedapi_user();
$this
->drupalGet('admin/content/feed/export_opml');
$this
->assertResponse(200, 'The export OPML path returns good status code.');
}