Skip to content

Commit

Permalink
Moodle 4.5 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Oct 8, 2024
1 parent 070ff14 commit 1a19692
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
include:
- php: '8.0'
moodle-branch: 'MOODLE_401_STABLE'
- php: '8.0'
moodle-branch: 'MOODLE_402_STABLE'
- php: '8.1'
moodle-branch: 'MOODLE_403_STABLE'
- php: '8.2'
moodle-branch: 'MOODLE_404_STABLE'
- php: '8.3'
moodle-branch: 'MOODLE_405_STABLE'

steps:
- name: Check out repository code
Expand Down Expand Up @@ -61,6 +61,10 @@ jobs:
if: ${{ !cancelled() }}
run: moodle-plugin-ci phpcs --max-warnings 0

- name: PHPDoc checker
if: ${{ !cancelled() }}
run: moodle-plugin-ci phpdoc --max-warnings 0

- name: Grunt
if: ${{ !cancelled() }}
run: moodle-plugin-ci grunt --max-lint-warnings 0
Expand Down
1 change: 0 additions & 1 deletion classes/event/definition_created.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.


namespace local_cohortrole\event;

use local_cohortrole\persistent;
Expand Down
1 change: 0 additions & 1 deletion tests/behat/behat_local_cohortrole_data_generators.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.


require_once(__DIR__ . '/../../../../lib/behat/behat_base.php');

use Behat\Gherkin\Node\TableNode;
Expand Down
4 changes: 4 additions & 0 deletions tests/observers_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,17 @@ final class observers_test extends advanced_testcase {
public static function setUpBeforeClass(): void {
global $CFG;

parent::setUpBeforeClass();

require_once("{$CFG->dirroot}/cohort/lib.php");
}

/**
* Test setup
*/
protected function setUp(): void {
parent::setUp();

$this->resetAfterTest(true);

// Create test role/cohort.
Expand Down
2 changes: 2 additions & 0 deletions tests/privacy/provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ final class provider_test extends provider_testcase {
* @return void
*/
protected function setUp(): void {
parent::setUp();

$this->resetAfterTest(true);

// Create test user.
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'local_cohortrole';
$plugin->release = '4.4';
$plugin->version = 2024042200;
$plugin->release = '4.5';
$plugin->version = 2024100800;
$plugin->requires = 2022112800; // Moodle 4.1 onwards.
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 1a19692

Please sign in to comment.