[svn r22564] Minor - added new library to test the function statistics

skala
Ricardo Rodriguez 16 years ago
parent 5ff25148de
commit ff5e46e9fc
  1. 5
      tests/all.test2.php

@ -7,6 +7,7 @@ require_once('simpletest/web_tester.php');
require_once('simpletest/mock_objects.php');
require_once('simpletest/autorun.php');
require_once(api_get_path(SYS_CODE_PATH).'admin/calendar.lib.php');
require_once(api_get_path(SYS_CODE_PATH).'admin/statistics/statistics.lib.php');
$_SESSION['_user']['user_id'] = 1;
$_user= 1;
@ -14,8 +15,8 @@ $_user= 1;
class AllTests2 extends TestSuite {
function AllTests2() {
$this->TestSuite('All tests2');
$this->addTestFile(dirname(__FILE__).'/main/admin/calendar.lib.test.php');
//$this->addTestFile(dirname(__FILE__).'/main/admin/calendar.lib.test.php');
$this->addTestFile(dirname(__FILE__).'/main/admin/statistics/statistics.lib.test.php');
}
}
$test = &new AllTests2();

Loading…
Cancel
Save