Remove unused functions.

1.10.x
Julio Montoya 10 years ago
parent 7988b53769
commit 3b1e0de7c5
  1. 28
      tests/main/inc/lib/database.lib.test.php

@ -117,34 +117,6 @@ class TestDatabase extends UnitTestCase {
$this->assertTrue(is_string($res));
}
function testGetCourseTablePrefix() {
global $_configuration;
$res=$this->dbase->get_course_table_prefix($_configuration);
$this->assertTrue(is_string($res));
}
function testGetCurrentCourseGluedDatabase() {
global $_course;
$res=$this->dbase->get_current_course_glued_database();
if (empty($_course['dbNameGlu'])) {
$this->assertFalse($res);
} else {
$this->assertTrue(is_string($res));
}
}
function testGetDatabaseGlue() {
global $_configuration;
$res=$this->dbase->get_database_glue($_configuration);
$this->assertTrue(is_string($res));
}
function testGetDatabaseNamePrefix() {
global $_configuration;
$res=$this->dbase->get_database_name_prefix($_configuration);
$this->assertTrue(is_string($res));
}
function testGetMainDatabase() {
global $_configuration;
$res=$this->dbase->get_main_database();

Loading…
Cancel
Save