mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-32149 setUp() and tearDown() are supposed to be 'protected', add missing blog testcase
This commit is contained in:
parent
814a96edfb
commit
1cbf2a20ca
15 changed files with 29 additions and 26 deletions
|
@ -103,7 +103,7 @@ class eventslib_test extends advanced_testcase {
|
|||
* data have to be artificially inseminated (:-) in the DB.
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
// Set global category settings to -1 (not force)
|
||||
sample_function_handler('reset');
|
||||
|
@ -117,7 +117,7 @@ class eventslib_test extends advanced_testcase {
|
|||
* Delete temporary entries from the database
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
protected function tearDown() {
|
||||
events_uninstall('unittest');
|
||||
parent::tearDown();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue