function CoderReviewUpgrade7xTest::testModule7x in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_7x.test \CoderReviewUpgrade7xTest::testModule7x()
File
- coder_review/
tests/ coder_review_7x.test, line 29
Class
Code
function testModule7x() {
// N/A - in comment review - http://drupal.org/node/224333#afile
// N/A - http://drupal.org/node/224333#module_file_during_install
// N/A - http://drupal.org/node/224333#module_version_dependencies
// N/A - http://drupal.org/node/224333#update_dependencies --- New update dependency system, affecting the order in which module updates are run
// N/A - http://drupal.org/node/224333#configure_info --- Module .info files can have configure line
// N/A - http://drupal.org/node/224333#api_php --- Code documentation added to module.api.php
// NO TESTS - http://drupal.org/node/224333#registry
// Can't implement tests because it's reviewed by a review callback, which
// needs physical files, and because it's a .info file.
// http://drupal.org/node/224333#update_sql and TEST MODULE
$this
->assertCoderReviewFail(' $ret = update_sql("UPDATE {node} SET status = 1");');
// http://drupal.org/node/224333#update_php
}