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/course_info/download.lib.test.php

19 lines
379 B

<?php
require_once api_get_path(SYS_CODE_PATH).'course_info/download.lib.php';
class TestCreateBackupIsAdmin extends UnitTestCase {
public function Testcreate_backup_is_admin()
{
$_GET = array('archive' => 'index.html');
$res = create_backup_is_admin(true);
$this->assertTrue($res, 'son iguales');
var_dump($res);
}
}
?>