Browse Source

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

Ricardo Rodriguez 15 years ago
parent
commit
ff5e46e9fc
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tests/all.test2.php

+ 3 - 2
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();