You are here

public function TaxonomyViewsIntegratorTest::testTaxonomyHasTaxonomyViewsIntegratorSettingForm in Taxonomy Views Integrator 8

Test that the user can see the form to set TVI settings on a given term.

File

tests/src/Functional/TaxonomyViewsIntegratorTest.php, line 38

Class

TaxonomyViewsIntegratorTest
Tests TaxonomyViewsIntegrator and various term configurations.

Namespace

Drupal\Tests\tvi\Functional

Code

public function testTaxonomyHasTaxonomyViewsIntegratorSettingForm() {
  $this
    ->drupalGet('taxonomy/term/' . $this->term1
    ->id() . '/edit');
  $this
    ->assertSession()
    ->responseContains('Taxonomy Views Integrator Settings');
  $this
    ->assertSession()
    ->responseContains('The default view to use for this term page.');
}