function NodeRequirementsStatusFilterWarningTest::testNodeGrantsNoProblematicViews
Tests node_requirements() with node grants but no problematic views.
File
-
core/
modules/ node/ tests/ src/ Kernel/ NodeRequirementsStatusFilterWarningTest.php, line 60
Class
- NodeRequirementsStatusFilterWarningTest
- Tests redundant status filter warnings raised by node_requirements().
Namespace
Drupal\Tests\node\KernelCode
public function testNodeGrantsNoProblematicViews() : void {
$this->enableNodeAccessTestModule();
$requirements = $this->getRequirements();
$this->assertArrayNotHasKey('node_status_filter', $requirements);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.