Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/main/inc/lib/message.lib.test.php

28 lines
607 B

<?php
require_once(api_get_path(LIBRARY_PATH).'message.lib.php');
class TestMessage extends UnitTestCase {
public function __construct() {
$this->UnitTestCase('Messages library - main/inc/lib/message.lib.test.php');
}
function testInboxDisplay() {
global $charset;
ob_start();
$res=MessageManager::inbox_display();
$this->assertTrue(is_null($res));
ob_end_clean();
//var_dump($res);
}
function testOutboxDisplay() {
global $charset;
ob_start();
$res=MessageManager::outbox_display();
$this->assertTrue(is_null($res));
ob_end_clean();
//var_dump($res);
}
}
?>