You are here

function MessagingTestCase::messagingCleanUp in Messaging 5

Same name and namespace in other branches
  1. 6 tests/messaging_testcase.inc \MessagingTestCase::messagingCleanUp()
  2. 6.2 tests/messaging_testcase.inc \MessagingTestCase::messagingCleanUp()
  3. 6.3 tests/messaging_testcase.inc \MessagingTestCase::messagingCleanUp()
2 calls to MessagingTestCase::messagingCleanUp()
Messaging_API_Tests::testMessagingBasicAPI in tests/messaging_api.test
Play with creating, retrieving, deleting a pair messages
Messaging_Methods_Tests::testMessagingMethods in tests/messaging_methods.test
Test message sending callbacks for enabled plug-ins

File

tests/messaging_testcase.inc, line 14

Class

MessagingTestCase

Code

function messagingCleanUp() {
  db_query("DELETE FROM {messaging_store} WHERE mqid > %d", $this->_messaging_status['max_mqid']);
}