Skip to content

Fix behat test fixture #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ CHANGELOG
the Opencast Tool plugin. The Opencast Block plugin is now optional.
* [CHANGE] The course backup functionality has changed. The option to select
individual events has been removed.\
A site-wide admin setting (`importreducedduplication`) has been added.\
If enabled, only events and series embedded via LTI or the Opencast
Two site-wide admin settings (`importvideosonbackup`) and (`importreducedduplication`) have been added.\
If (`importvideosonbackup`) is enabled, videos will be backed up during course backups.\
If (`importreducedduplication`) is enabled, only the events and series embedded via LTI or the Opencast
activity module will be backed up.\
If disabled (default), all events from
the course will be included in the backup.
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/block_opencast_cleanup_backup.feature
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Feature: Restore courses as Teacher
| importvideoshandleseriesenabled_1 | 1 | tool_opencast |
| importvideoshandleepisodeenabled_1 | 1 | tool_opencast |
| addltiepisodeenabled_1 | 1 | tool_opencast |
| importvideoscoredefaultvalue_1 | 1 | tool_opencast |
| importvideosonbackup_1 | 0 | tool_opencast |
| enableasyncbackup | 0 | |
And I setup the opencast test api
And I upload a testvideo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"resource": "/api/events?filter=is_part_of:84bab8de-5688-46a1-9af0-5ce9122eeb6a&sort=start_date:DESC&sign=true&withacl=true&withmetadata=true&withpublications=true&limit=6",
"resource": "/api/events?filter=is_part_of:84bab8de-5688-46a1-9af0-5ce9122eeb6a&sort=start_date:DESC&sign=true&withacl=true&withmetadata=true&withpublications=true&includeInternalPublication=false&limit=6",
"status": 200,
"body": [
]
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'block_opencast';
$plugin->release = 'v4.5-r5';
$plugin->version = 2025042200;
$plugin->release = 'v5.0-r1';
$plugin->version = 2025052700;
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = [
Expand Down