function MessagingTestCase::assertUserRows in Messaging 7
Same name and namespace in other branches
- 6.4 tests/messaging_test_case.inc \MessagingTestCase::assertUserRows()
File
- tests/
messaging_test_case.inc, line 111
Class
Code
function assertUserRows($table, $target, $uid, $message = NULL) {
$message = $message ? $message : "There are {$target} rows in table {$table} for user {$uid}";
$this
->assertTableRows($table, $target, array(
'uid' => $uid,
), $message);
}