You are here

function ShoutboxUserAccessTest::cleanup in Shoutbox 5

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

File

tests/shoutbox_user_access.test, line 344
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);
}