Skip to content

Commit 22714e0

Browse files
authored
Merge branch 'bycs-lp:main' into RAG
2 parents d3adaaa + 4d769d6 commit 22714e0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/ai_manager_utils_test.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@
3333
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3434
*/
3535
final class ai_manager_utils_test extends \advanced_testcase {
36+
#[\Override]
37+
protected function setUp(): void {
38+
parent::setUp();
39+
// We disable the hook here, so we have a defined setup for this unit test.
40+
// The hook callbacks should be tested wherever the callback is being implemented.
41+
$this->redirectHook(\local_ai_manager\hook\userinfo_extend::class, fn() => null);
42+
$this->redirectHook(\local_ai_manager\hook\custom_tenant::class, fn() => null);
43+
}
3644

3745
/**
3846
* Tests the method get_next_free_itemid.

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
defined('MOODLE_INTERNAL') || die();
2626

27-
$plugin->version = 2025082900;
27+
$plugin->version = 2025091700;
2828
$plugin->requires = 2025041400;
2929
$plugin->release = '2.1';
3030
$plugin->component = 'local_ai_manager';

0 commit comments

Comments
 (0)