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.
18 lines
470 B
18 lines
470 B
|
14 years ago
|
<?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);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
?>
|