From 4e006e98b6e6826766b122f4d1f820ccafc3e859 Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Thu, 21 Jan 2010 15:47:22 -0500 Subject: [PATCH] Removed a extra api_get_path CT#191 --- tests/main/inc/course_document.lib.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/main/inc/course_document.lib.test.php b/tests/main/inc/course_document.lib.test.php index 36b31b1ae0..1fb07962d5 100755 --- a/tests/main/inc/course_document.lib.test.php +++ b/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));