You are here

public static property WebformBlockCacheTest::$modules in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/WebformBlockCacheTest.php \Drupal\Tests\webform\Functional\WebformBlockCacheTest::modules

Modules to enable.

Type: array

Overrides WebformBrowserTestBase::$modules

File

tests/src/Functional/WebformBlockCacheTest.php, line 20

Class

WebformBlockCacheTest
These tests proof that the webform block which renders the webform as a block provides the correct cache tags / cache contexts so that cachability works.

Namespace

Drupal\Tests\webform\Functional

Code

public static $modules = [
  'block',
  'webform',
  'page_cache',
  'dynamic_page_cache',
  'node',
];