Commit db880c40 authored by catch's avatar catch
Browse files

Issue #3414664 by Spokje: Convert RelationshipRepresentativeNodeTest into a Kernel test

(cherry picked from commit 34f7186a)
parent 12b5db62
Loading
Loading
Loading
Loading
Loading
+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;

@@ -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'];