DbQueryUnitTest.inc in Coder 8.3
Same filename and directory in other branches
File
tests/DrupalPractice/FunctionCalls/DbQueryUnitTest.incView source
<?php
db_query('INSERT INTO {node}');
db_query('UPDATE {node}');
db_query("DELETE FROM {node}");
/**
* Implements hook_install().
*/
function testmodule_install() {
db_query("\n UPDATE {system}\n SET weight = 20\n WHERE type = 'module' AND\n name = 'node'");
}
db_query("TRUNCATE TABLE {node}");
Functions
Name | Description |
---|---|
testmodule_install | Implements hook_install(). |