You are here

function NotificationsContentTests::printDebug in Notifications 6

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

File

tests/notifications_content.test, line 279

Class

NotificationsContentTests
Class for testing notifications module. Tests basic API functions

Code

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