function ShoutboxBaseTestCase::getMessage in Shoutbox 7
Same name and namespace in other branches
- 7.2 shoutbox.test \ShoutboxBaseTestCase::getMessage()
1 call to ShoutboxBaseTestCase::getMessage()
- ShoutboxModerateTestCase::testShoutboxModerateForm in ./
shoutbox.test - Test that we can moderate a shout.
File
- ./
shoutbox.test, line 59 - Shoutbox testing.
Class
- ShoutboxBaseTestCase
- @file Shoutbox testing.
Code
function getMessage($id) {
$message = db_query('SELECT shout FROM {shoutbox} WHERE shout_id = :shout_id', array(
':shout_id' => $id,
))
->fetchField();
// debug($id);
return $message;
}