Loading core/modules/taxonomy/tests/src/Functional/Views/RelationshipRepresentativeNodeTest.php→core/modules/taxonomy/tests/src/Kernel/Views/RelationshipRepresentativeNodeTest.php +3 −8 Original line number Diff line number Diff line <?php namespace Drupal\Tests\taxonomy\Functional\Views; namespace Drupal\Tests\taxonomy\Kernel\Views; use Drupal\views\Views; Loading @@ -14,19 +14,14 @@ class RelationshipRepresentativeNodeTest extends TaxonomyTestBase { /** * Views used by this test. * * @var array * @var string[] */ public static $testViews = ['test_groupwise_term']; /** * {@inheritdoc} */ protected $defaultTheme = 'stark'; /** * Tests the relationship. */ public function testRelationship() { public function testRelationship(): void { $view = Views::getView('test_groupwise_term'); $this->executeView($view); $map = ['node_field_data_taxonomy_term_field_data_nid' => 'nid', 'tid' => 'tid']; Loading Loading
core/modules/taxonomy/tests/src/Functional/Views/RelationshipRepresentativeNodeTest.php→core/modules/taxonomy/tests/src/Kernel/Views/RelationshipRepresentativeNodeTest.php +3 −8 Original line number Diff line number Diff line <?php namespace Drupal\Tests\taxonomy\Functional\Views; namespace Drupal\Tests\taxonomy\Kernel\Views; use Drupal\views\Views; Loading @@ -14,19 +14,14 @@ class RelationshipRepresentativeNodeTest extends TaxonomyTestBase { /** * Views used by this test. * * @var array * @var string[] */ public static $testViews = ['test_groupwise_term']; /** * {@inheritdoc} */ protected $defaultTheme = 'stark'; /** * Tests the relationship. */ public function testRelationship() { public function testRelationship(): void { $view = Views::getView('test_groupwise_term'); $this->executeView($view); $map = ['node_field_data_taxonomy_term_field_data_nid' => 'nid', 'tid' => 'tid']; Loading