Removing tests of deprecated functions that were causing a bug in testing.beeznest.com

skala
Guillaume Viguier 15 years ago
parent d91270cfd2
commit 7b9a2f0bff
  1. 10
      tests/main/inc/lib/fileManage.lib.test.php
  2. 11
      tests/main/inc/lib/fileManager.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);
}
}
?>

@ -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);
}
}

Loading…
Cancel
Save