From d57acd957c1f227a17dfcc5456f7eb01938a6382 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Mon, 22 May 2023 13:21:53 +0200 Subject: [PATCH] MDL-74954 core: remove failing hooks test for now --- lib/tests/hook/manager_test.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/tests/hook/manager_test.php b/lib/tests/hook/manager_test.php index a2e31ab9c8a..67949e3d1ff 100644 --- a/lib/tests/hook/manager_test.php +++ b/lib/tests/hook/manager_test.php @@ -224,20 +224,6 @@ class manager_test extends \advanced_testcase { $this->assertFalse($testmanager->is_deprecated_plugin_callback('legacycallback')); } - /** - * Test detection of legacy callbacks. - * @covers ::is_deprecating_hook_present - */ - public function testy_is_deprecating_hook_present() { - $componentfiles = [ - 'test_plugin1' => __DIR__ . '/../fixtures/hook/hooks1_valid.php', - ]; - $testmanager = manager::phpunit_get_instance($componentfiles); - // There is not much to test because there should not be any legacy callbacks left, - // plugin that have these should test their code. - $this->assertFalse($testmanager->is_deprecating_hook_present('test_pluing', 'xyz')); - } - /** * Tests callbacks can be overridden via CFG settings. * @covers ::load_callbacks