You are here

function ShoutboxUserAccessTest::cleanup in Shoutbox 6

Same name and namespace in other branches
  1. 5 tests/shoutbox_user_access.test \ShoutboxUserAccessTest::cleanup()
2 calls to ShoutboxUserAccessTest::cleanup()
ShoutboxUserAccessTest::testAdminUserAccess in tests/shoutbox_user_access.test
ShoutboxUserAccessTest::testModerationUserAccess in tests/shoutbox_user_access.test

File

tests/shoutbox_user_access.test, line 337
shoutbox unit test for shoutbox_user_access and shoutbox_is_user_owned

Class

ShoutboxUserAccessTest
@file shoutbox unit test for shoutbox_user_access and shoutbox_is_user_owned

Code

function cleanup($shout_id) {
  db_query("DELETE FROM {shoutbox} WHERE shout_id = %d", $shout_id);
}