function NotificationsTemplatesTests::printDebug in Notifications 7
Same name and namespace in other branches
- 6.4 tests/notifications_templates.test \NotificationsTemplatesTests::printDebug()
- 6.2 tests/notifications_templates.test \NotificationsTemplatesTests::printDebug()
- 6.3 tests/notifications_templates.test \NotificationsTemplatesTests::printDebug()
Print helper for debugging
Overrides MessagingTestCase::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);
}