function CoderReviewUpgrade6xTest::testUpgrade6xNodeAPI in Coder 7.2
Same name and namespace in other branches
- 7 coder_review/tests/coder_review_6x.test \CoderReviewUpgrade6xTest::testUpgrade6xNodeAPI()
???
File
- coder_review/
tests/ coder_review_6x.test, line 259
Class
Code
function testUpgrade6xNodeAPI() {
$this
->assertCoderReviewFail(" function mymodule_nodeapi() {\n switch (\$op) {\n case 'submit': return;\n }\n}");
$this
->assertCoderReviewFail(" function mymodule_nodeapi() {\n if (\$op == 'submit') {\n }\n}");
}