You are here

SitemapBrowserTestBase.php in Sitemap 2.0.x

Same filename and directory in other branches
  1. 8.2 src/Tests/SitemapBrowserTestBase.php

File

src/Tests/SitemapBrowserTestBase.php
View 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