You are here

function NotificationsTemplatesTests::printDebug in Notifications 6.4

Same name and namespace in other branches
  1. 6.2 tests/notifications_templates.test \NotificationsTemplatesTests::printDebug()
  2. 6.3 tests/notifications_templates.test \NotificationsTemplatesTests::printDebug()
  3. 7 tests/notifications_templates.test \NotificationsTemplatesTests::printDebug()

File

tests/notifications_templates.test, line 246

Class

NotificationsTemplatesTests
Class for testing notifications templates and message composition.

Code

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