You are here

public static property XmlSitemapRobotsTxtIntegrationTest::$modules in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/XmlSitemapRobotsTxtIntegrationTest.php \Drupal\Tests\xmlsitemap\Functional\XmlSitemapRobotsTxtIntegrationTest::modules

Modules to enable.

Type: array

Overrides XmlSitemapTestBase::$modules

File

tests/src/Functional/XmlSitemapRobotsTxtIntegrationTest.php, line 19

Class

XmlSitemapRobotsTxtIntegrationTest
Tests the robots.txt file existence.

Namespace

Drupal\Tests\xmlsitemap\Functional

Code

public static $modules = [
  'robotstxt',
];