public function ViewsConfigUpdaterTest::testNeedsFieldNamesForMultivalueBaseFieldsUpdate in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php \Drupal\Tests\views\Kernel\ViewsConfigUpdaterTest::testNeedsFieldNamesForMultivalueBaseFieldsUpdate()
@covers ::needsMultivalueBaseFieldUpdate
File
- core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigUpdaterTest.php, line 105
Class
- ViewsConfigUpdaterTest
- @coversDefaultClass \Drupal\views\ViewsConfigUpdater
Namespace
Drupal\Tests\views\KernelCode
public function testNeedsFieldNamesForMultivalueBaseFieldsUpdate() {
$test_view = $this
->loadTestView('views.view.test_user_multi_value');
$this->configUpdater
->setDeprecationsEnabled(FALSE);
$needs_update = $this->configUpdater
->needsMultivalueBaseFieldUpdate($test_view);
$this
->assertTrue($needs_update);
}