You are here

public function HierarchicalFacetIntegrationTest::testHierarchicalFacet in Facets 8

Same name in this branch
  1. 8 tests/src/Functional/HierarchicalFacetIntegrationTest.php \Drupal\Tests\facets\Functional\HierarchicalFacetIntegrationTest::testHierarchicalFacet()
  2. 8 modules/facets_summary/tests/src/Functional/HierarchicalFacetIntegrationTest.php \Drupal\Tests\facets_summary\Functional\HierarchicalFacetIntegrationTest::testHierarchicalFacet()

Test the hierarchical facets functionality.

File

tests/src/Functional/HierarchicalFacetIntegrationTest.php, line 108

Class

HierarchicalFacetIntegrationTest
Tests the hierarchical facets implementation.

Namespace

Drupal\Tests\facets\Functional

Code

public function testHierarchicalFacet() {
  $this
    ->verifyUseHierarchyOption();
  $this
    ->verifyKeepHierarchyParentsActiveOption();
  $this
    ->verifyExpandHierarchyOption();
  $this
    ->verifyEnableParentWhenChildGetsDisabledOption();
}