You are here

public function ViewsConfigUpdaterTest::testNeedsEntityLinkUrlUpdate in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php \Drupal\Tests\views\Kernel\ViewsConfigUpdaterTest::testNeedsEntityLinkUrlUpdate()

@covers ::needsEntityLinkUrlUpdate

File

core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php, line 64

Class

ViewsConfigUpdaterTest
@coversDefaultClass \Drupal\views\ViewsConfigUpdater

Namespace

Drupal\Tests\views\Kernel

Code

public function testNeedsEntityLinkUrlUpdate() {
  $test_view = $this
    ->loadTestView('views.view.node_link_update_test');
  $needs_update = $this->configUpdater
    ->needsEntityLinkUrlUpdate($test_view);
  $this
    ->assertTrue($needs_update);
}