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/search/search_suggestions.test.php

18 lines
470 B

<?php
require_once api_get_path(SYS_CODE_PATH).'search/search_suggestions.php';
class TestSearch extends UnitTestCase {
public function __construct() {
$this->UnitTestCase('Search suggestions library - main/search/search_suggestions.test.php');
}
function testGetSuggestionsFromSearchEngine() {
//ob_start();
$q=1;
$res = get_suggestions_from_search_engine($q);
$this->assertTrue(is_null($res));
//ob_end_clean();
//var_dump($res);
}
}
?>