You are here

function testmodule_install in Coder 8.2

Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/FunctionCalls/DbQueryUnitTest.inc \testmodule_install()
  2. 8.3.x tests/DrupalPractice/FunctionCalls/DbQueryUnitTest.inc \testmodule_install()

Implements hook_install().

File

coder_sniffer/DrupalPractice/Test/FunctionCalls/DbQueryUnitTest.inc, line 10

Code

function testmodule_install() {
  db_query("\n    UPDATE {system}\n    SET weight = 20\n    WHERE type = 'module' AND\n          name = 'node'");
}