class TaxonomyParentUITest
Same name and namespace in other branches
- 11.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyParentUITest
- 10 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyParentUITest
- 9 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyParentUITest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyParentUITest
Tests views taxonomy parent plugin UI.
@group taxonomy
Hierarchy
- class \Drupal\Tests\BrowserTestBase uses \Drupal\Core\Test\FunctionalTestSetupTrait, \Drupal\Tests\UiHelperTrait, \Drupal\Core\Test\TestSetupTrait, \Drupal\Tests\block\Traits\BlockCreationTrait, \Drupal\FunctionalTests\AssertLegacyTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\node\Traits\NodeCreationTrait, \Drupal\Tests\node\Traits\ContentTypeCreationTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\user\Traits\UserCreationTrait, \Drupal\Tests\XdebugRequestTrait, \Drupal\Tests\PhpunitCompatibilityTrait extends \PHPUnit\Framework\TestCase
- class \Drupal\Tests\views\Functional\ViewTestBase uses \Drupal\views\Tests\ViewResultAssertionTrait extends \Drupal\Tests\BrowserTestBase
- class \Drupal\Tests\views_ui\Functional\UITestBase extends \Drupal\Tests\views\Functional\ViewTestBase
- class \Drupal\Tests\taxonomy\Functional\Views\TaxonomyParentUITest extends \Drupal\Tests\views_ui\Functional\UITestBase
- class \Drupal\Tests\views_ui\Functional\UITestBase extends \Drupal\Tests\views\Functional\ViewTestBase
- class \Drupal\Tests\views\Functional\ViewTestBase uses \Drupal\views\Tests\ViewResultAssertionTrait extends \Drupal\Tests\BrowserTestBase
Expanded class hierarchy of TaxonomyParentUITest
See also
Drupal\taxonomy\Plugin\views\access\Role
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ Views/ TaxonomyParentUITest.php, line 14
Namespace
Drupal\Tests\taxonomy\Functional\ViewsView source
class TaxonomyParentUITest extends UITestBase {
/**
* Views used by this test.
*
* @var array
*/
public static $testViews = [
'test_taxonomy_parent',
];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'taxonomy',
'taxonomy_test_views',
];
/**
* {@inheritdoc}
*/
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
ViewTestData::createTestViews(get_class($this), [
'taxonomy_test_views',
]);
}
/**
* Tests the taxonomy parent plugin UI.
*/
public function testTaxonomyParentUI() {
$this->drupalGet('admin/structure/views/nojs/handler/test_taxonomy_parent/default/relationship/parent');
$this->assertNoText('The handler for this item is broken or missing.');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.