From 7b9a2f0bff628b792a4c4c1baa08410880d2c06f Mon Sep 17 00:00:00 2001 From: Guillaume Viguier Date: Wed, 23 Jun 2010 15:12:32 -0500 Subject: [PATCH] Removing tests of deprecated functions that were causing a bug in testing.beeznest.com --- tests/main/inc/lib/fileManage.lib.test.php | 10 ---------- tests/main/inc/lib/fileManager.lib.test.php | 11 ----------- 2 files changed, 21 deletions(-) diff --git a/tests/main/inc/lib/fileManage.lib.test.php b/tests/main/inc/lib/fileManage.lib.test.php index 3aab42180d..9fde22a47e 100755 --- a/tests/main/inc/lib/fileManage.lib.test.php +++ b/tests/main/inc/lib/fileManage.lib.test.php @@ -194,15 +194,5 @@ class TestFileManager extends UnitTestCase { $this->assertTrue(is_null($res)); //var_dump($res); } - - public function testMkdirs(){ - //This function is deprecated - $path=api_get_path(SYS_COURSE_PATH).'document'; - $res = $this->fmanager->mkdirs($path); - $this->assertFalse($res); - $this->assertTrue(is_bool($res)); - $this->assertTrue($res === false); - //var_dump($res); - } } ?> diff --git a/tests/main/inc/lib/fileManager.lib.test.php b/tests/main/inc/lib/fileManager.lib.test.php index 3d19b6753a..95d46866b4 100755 --- a/tests/main/inc/lib/fileManager.lib.test.php +++ b/tests/main/inc/lib/fileManager.lib.test.php @@ -190,17 +190,6 @@ class TestFileManager extends UnitTestCase { //var_dump($res); } - public function testMkdirs(){ - //This function is deprecated - $path='/var/www/path/ruta'; - $res = $this->fmanager->mkdirs($path); - $this->assertFalse($res); - $this->assertTrue(is_bool($res)); - $this->assertTrue($res === false); - //var_dump($res); - - } - }