protected function XMLSitemapTestHelper::checkFilesDirectory in XML sitemap 7.2
Same name and namespace in other branches
- 6.2 xmlsitemap.test \XMLSitemapTestHelper::checkFilesDirectory()
Check the files directory is created (massive fails if not done).
@todo This can be removed when https://www.drupal.org/node/654752 is fixed.
File
- ./
xmlsitemap.test, line 67 - Unit tests for the xmlsitemap.
Class
- XMLSitemapTestHelper
- Helper test class with some added functions for testing.
Code
protected function checkFilesDirectory() {
if (!xmlsitemap_check_directory()) {
$this
->fail(t('Sitemap directory was found and writable for testing.'));
}
}