MDL-32149 setUp() and tearDown() are supposed to be 'protected', add missing blog testcase

This commit is contained in:
Petr Skoda 2012-04-02 23:55:03 +02:00
parent 814a96edfb
commit 1cbf2a20ca
15 changed files with 29 additions and 26 deletions

View file

@ -954,7 +954,7 @@ class database_driver_testcase extends PHPUnit_Framework_TestCase {
self::$extradb = $d;
}
public function setUp() {
protected function setUp() {
global $DB;
if (self::$extradb) {
@ -964,7 +964,7 @@ class database_driver_testcase extends PHPUnit_Framework_TestCase {
}
}
public function tearDown() {
protected function tearDown() {
// delete all test tables
$dbman = $this->tdb->get_manager();
$tables = $this->tdb->get_tables(false);