You are here

function NotificationsTemplatesTests::printDebug in Notifications 6.2

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

Overrides NotificationsTestCase::printDebug

File

tests/notifications_templates.test, line 232

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);
}