public function EditableTest::testGetCacheContexts in Views Node Access Filter 8
Ensure user cache context.
File
- tests/
src/ Unit/ EditableTest.php, line 42
Class
- EditableTest
- Test file.
Namespace
Drupal\Tests\views_node_access_filter\UnitCode
public function testGetCacheContexts() {
$this
->assertContains('user', $this->plugin
->getCacheContexts());
}