2008-10-18 10:00:34 +00:00
|
|
|
<?php
|
|
|
|
class RSSImagesTest extends WebTestCase {
|
|
|
|
function testImageFeed() {
|
2008-10-18 10:34:15 +00:00
|
|
|
$this->get(TEST_BASE.'/rss/images');
|
2008-10-18 10:00:34 +00:00
|
|
|
$this->assertMime("application/rss+xml");
|
|
|
|
$this->assertNoText("Exception");
|
2008-10-18 11:43:44 +00:00
|
|
|
|
|
|
|
$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");
|
2008-10-18 10:00:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|