You are here

function NotificationsContentTests::printDebug in Notifications 7

Same name and namespace in other branches
  1. 6.4 tests/notifications_content.test \NotificationsContentTests::printDebug()
  2. 6 tests/notifications_content.test \NotificationsContentTests::printDebug()
  3. 6.2 tests/notifications_content.test \NotificationsContentTests::printDebug()
  4. 6.3 tests/notifications_content.test \NotificationsContentTests::printDebug()

Print helper for debugging

Overrides MessagingTestCase::printDebug

File

tests/notifications_content.test, line 300

Class

NotificationsContentTests

Code

function printDebug($data) {
  $string = is_array($data) || is_object($data) ? print_r($data, TRUE) : $data;
  $this
    ->assertTrue(FALSE, 'DEBUG: ' . $string);
}