public function ViewsConfigUpdaterTest::testNeedsEntityLinkUrlUpdate in Drupal 9
Same name and namespace in other branches
- 8 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 65
Class
- ViewsConfigUpdaterTest
- @coversDefaultClass \Drupal\views\ViewsConfigUpdater
Namespace
Drupal\Tests\views\KernelCode
public function testNeedsEntityLinkUrlUpdate() {
$test_view = $this
->loadTestView('views.view.node_link_update_test');
$this->configUpdater
->setDeprecationsEnabled(FALSE);
$needs_update = $this->configUpdater
->needsEntityLinkUrlUpdate($test_view);
$this
->assertTrue($needs_update);
}