test generation of the actual map
This commit is contained in:
parent
5238fdc13f
commit
56446b867f
@ -5,5 +5,17 @@ class XMLSitemapTest extends SCoreWebTestCase {
|
|||||||
# PHP-level error messages
|
# PHP-level error messages
|
||||||
$this->get_page('sitemap.xml');
|
$this->get_page('sitemap.xml');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function testImage() {
|
||||||
|
$this->log_in_as_user();
|
||||||
|
$image_id = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx");
|
||||||
|
$this->log_out();
|
||||||
|
|
||||||
|
$this->get_page('sitemap.xml');
|
||||||
|
|
||||||
|
$this->log_in_as_admin();
|
||||||
|
$this->delete_image($image_id);
|
||||||
|
$this->log_out();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user