Skip to content

Commit 3aa3b99

Browse files
committed
Adopting Moodle Plugin CI for Moodle 5.0
1 parent 1214965 commit 3aa3b99

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ jobs:
3939
- php: '8.2'
4040
moodle-branch: 'MOODLE_500_STABLE'
4141
database: 'pgsql'
42-
- php: '8.4'
43-
moodle-branch: 'MOODLE_500_STABLE'
44-
database: 'mariadb'
4542

4643
steps:
4744
- name: Checkout

tests/custom_completion_test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ public static function get_state_provider(): array {
8282
*
8383
* @covers \mod_questionnaire\completion\custom_completion
8484
*/
85-
public static function test_get_state(string $rule, int $available, ?bool $submitted, ?int $status, ?string $exception) {
85+
public function test_get_state(string $rule, int $available, ?bool $submitted, ?int $status, ?string $exception) {
8686
if (!is_null($exception)) {
87-
\PHPUnit\Framework\TestCase::expectException($exception);
87+
self::expectException($exception);
8888
}
8989

90-
$this_>resetAfterTest();
90+
self::resetAfterTest();
9191
$generator = self::getDataGenerator()->get_plugin_generator('mod_questionnaire');
9292

9393
$course = self::getDataGenerator()->create_course(['enablecompletion' => 1]);

0 commit comments

Comments
 (0)