File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 3333 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3434 */
3535final 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.
Original file line number Diff line number Diff line change 2424 */
2525defined ('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 ' ;
You can’t perform that action at this time.
0 commit comments