function ViewsConfigUpdaterTest::testNeedsOperatorUpdateDefaults
Same name in other branches
- 9 core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php \Drupal\Tests\views\Kernel\ViewsConfigUpdaterTest::testNeedsOperatorUpdateDefaults()
@covers ::needsOperatorDefaultsUpdate
File
-
core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigUpdaterTest.php, line 73
Class
- ViewsConfigUpdaterTest
- @coversDefaultClass \Drupal\views\ViewsConfigUpdater
Namespace
Drupal\Tests\views\KernelCode
public function testNeedsOperatorUpdateDefaults() {
$test_view = $this->loadTestView('views.view.test_exposed_filters');
$needs_update = $this->configUpdater
->needsOperatorDefaultsUpdate($test_view);
$this->assertTrue($needs_update);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.