SitemapBrowserTestBase.php in Sitemap 2.0.x
Same filename and directory in other branches
Namespace
Drupal\sitemap\TestsFile
src/Tests/SitemapBrowserTestBase.phpView source
<?php
namespace Drupal\sitemap\Tests;
use Drupal\Tests\BrowserTestBase;
abstract class SitemapBrowserTestBase extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
* Save the sitemap form with the provided configuration.
*
* @param array $edit
*/
protected function saveSitemapForm($edit = []) {
$this
->drupalPostForm('admin/config/search/sitemap', $edit, t('Save configuration'));
}
}
Classes
Name | Description |
---|---|
SitemapBrowserTestBase |