Skip to content

Commit 9226076

Browse files
authored
Merge pull request #181 from catalyst/update-unit-test-310+
Update unit tests for Moodle 3.10+
2 parents 242671f + cb6c9dd commit 9226076

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/phpunit/robot_cleanup_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class tool_crawler_robot_cleanup_test extends advanced_testcase {
4444
*
4545
* @throws coding_exception
4646
*/
47-
protected function setUp() {
47+
protected function setUp(): void {
4848
global $DB;
4949

5050
$this->resetAfterTest(true);

tests/phpunit/robot_crawler_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class tool_crawler_robot_crawler_test extends advanced_testcase {
4242
/**
4343
* Setup robot crawler testcase and parent setup
4444
*/
45-
protected function setUp() {
45+
protected function setUp():void {
4646
parent::setup();
4747
$this->resetAfterTest(true);
4848

0 commit comments

Comments
 (0)