You are here

public function PreviewTest::testTaxonomyAJAX in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/Tests/PreviewTest.php \Drupal\views_ui\Tests\PreviewTest::testTaxonomyAJAX()

Tests the taxonomy term preview AJAX.

This tests a specific regression in the taxonomy term view preview.

See also

https://www.drupal.org/node/2452659

File

core/modules/views_ui/src/Tests/PreviewTest.php, line 102
Contains \Drupal\views_ui\Tests\PreviewTest.

Class

PreviewTest
Tests the UI preview functionality.

Namespace

Drupal\views_ui\Tests

Code

public function testTaxonomyAJAX() {
  \Drupal::service('module_installer')
    ->install(array(
    'taxonomy',
  ));
  $this
    ->getPreviewAJAX('taxonomy_term', 'page_1', 0);
}