This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/contrib/rss_images/test.php
shish b37e9e859f numbered and searched rss results
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1099 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 11:43:44 +00:00

21 lines
611 B
PHP

<?php
class RSSImagesTest extends WebTestCase {
function testImageFeed() {
$this->get(TEST_BASE.'/rss/images');
$this->assertMime("application/rss+xml");
$this->assertNoText("Exception");
$this->get(TEST_BASE.'/rss/images/1');
$this->assertMime("application/rss+xml");
$this->assertNoText("Exception");
$this->get(TEST_BASE.'/rss/images/tagme/1');
$this->assertMime("application/rss+xml");
$this->assertNoText("Exception");
$this->get(TEST_BASE.'/rss/images/tagme/2');
$this->assertMime("application/rss+xml");
$this->assertNoText("Exception");
}
}
?>