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.
23 lines
447 B
23 lines
447 B
|
17 years ago
|
<?php
|
||
|
|
|
||
|
|
class TestBanner extends UnitTestCase{
|
||
|
|
|
||
|
|
public function TestBanner(){
|
||
|
|
|
||
|
|
$this->UnitTestCase('Determine the tabs function tests');
|
||
|
|
|
||
|
|
}
|
||
|
|
public function testGetTabs(){
|
||
|
|
global $_course, $rootAdminWeb, $_user;
|
||
|
|
ob_start();
|
||
|
|
require_once(api_get_path(SYS_CODE_PATH).'inc/banner.inc.php');
|
||
|
|
ob_end_clean();
|
||
|
|
$res = get_tabs();
|
||
|
|
$this->assertTrue(is_array($res));
|
||
|
|
$this->assertTrue($res);
|
||
|
|
//var_dump($res);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
?>
|