function CoderUpgrade6xTest::testUpgrade6xNodeAccessRebuild in Coder 6
Same name and namespace in other branches
- 6.2 tests/coder_6x.test \CoderUpgrade6xTest::testUpgrade6xNodeAccessRebuild()
File
- tests/
coder_6x.test, line 194
Class
Code
function testUpgrade6xNodeAccessRebuild() {
$this
->assertCoderFail(" function mymodule_enable() {\n node_access_rebuild();\n}");
$this
->assertCoderFail(" function mymodule_disable() {\n node_access_rebuild();\n}");
$this
->assertCoderPass(" function mymodule_function() {\n node_access_rebuild();\n}");
}