Removed a extra api_get_path CT#191

skala
Arthur Portugal 15 years ago
parent f98d2cd98d
commit 4e006e98b6
  1. 2
      tests/main/inc/course_document.lib.test.php

@ -10,7 +10,7 @@ class Testcdocu extends UnitTestCase{
public function testGetlist(){
global $is_allowed_in_course;
$is_allowed_in_course = true;
$directory = api_get_path(SYS_COURSE_PATH).api_get_course_path().'/document/audio/';
$directory = api_get_path(SYS_COURSE_PATH).'/document/audio/';
$res = getlist($directory);
if (is_bool($res)){
$this->assertTrue(is_bool($res));

Loading…
Cancel
Save