You are here

protected function SitemapBrowserTestBase::saveSitemapForm in Sitemap 8.2

Same name and namespace in other branches
  1. 2.0.x src/Tests/SitemapBrowserTestBase.php \Drupal\sitemap\Tests\SitemapBrowserTestBase::saveSitemapForm()

Save the sitemap form with the provided configuration.

Parameters

array $edit:

19 calls to SitemapBrowserTestBase::saveSitemapForm()
SitemapBookTest::testBooks in src/Tests/SitemapBookTest.php
Tests books.
SitemapBookTest::testBooksCustomTitle in src/Tests/SitemapBookTest.php
Tests a custom title setting for books.
SitemapContentTest::testPageTitle in src/Tests/SitemapContentTest.php
Tests configurable page title.
SitemapContentTest::testSitemapMessage in src/Tests/SitemapContentTest.php
Tests sitemap message.
SitemapCssTest::testIncludeCssFile in src/Tests/SitemapCssTest.php
Tests include css file.

... See full list

File

src/Tests/SitemapBrowserTestBase.php, line 16

Class

SitemapBrowserTestBase

Namespace

Drupal\sitemap\Tests

Code

protected function saveSitemapForm($edit = []) {
  $this
    ->drupalPostForm('admin/config/search/sitemap', $edit, t('Save configuration'));
}