From bbb7d41841f5673158a9c66296046b2c4ab780f8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 30 Nov 2023 22:04:21 +0100 Subject: [PATCH] [update/area51-master] Fix tests --- phpBB/ext/phpBB/sslAssets/event/listener.php | 2 +- phpBB/ext/phpBB/sslAssets/ext.php | 2 +- tests/functional/mcp/mcp_logs_test.php | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/phpBB/ext/phpBB/sslAssets/event/listener.php b/phpBB/ext/phpBB/sslAssets/event/listener.php index a28e48a20a..4cc2973d02 100644 --- a/phpBB/ext/phpBB/sslAssets/event/listener.php +++ b/phpBB/ext/phpBB/sslAssets/event/listener.php @@ -16,7 +16,7 @@ class listener implements EventSubscriberInterface { - static public function getSubscribedEvents() + public static function getSubscribedEvents() { return array( 'core.page_footer' => 'rewrite_assets', diff --git a/phpBB/ext/phpBB/sslAssets/ext.php b/phpBB/ext/phpBB/sslAssets/ext.php index 3ada6be7f9..672bb405e9 100644 --- a/phpBB/ext/phpBB/sslAssets/ext.php +++ b/phpBB/ext/phpBB/sslAssets/ext.php @@ -11,4 +11,4 @@ class ext extends \phpbb\extension\base { -} \ No newline at end of file +} diff --git a/tests/functional/mcp/mcp_logs_test.php b/tests/functional/mcp/mcp_logs_test.php index 1b830cba33..9b91bf9870 100644 --- a/tests/functional/mcp/mcp_logs_test.php +++ b/tests/functional/mcp/mcp_logs_test.php @@ -18,6 +18,8 @@ class phpbb_functional_mcp_logs_test extends phpbb_functional_test_case { public function test_delete_logs() { + $this->markTestSkipped('Deleting logs not supported on area51'); + $this->add_lang(['mcp', 'common']); $this->login();