1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-12 23:44:32 +02:00

[ticket/17554] Prevent opening Extension Catalog in test_all_acp_module_links

PHPBB-17554
This commit is contained in:
Derky
2025-09-28 13:28:18 +02:00
parent 4b71f0323a
commit 0eab040b97

View File

@@ -58,6 +58,12 @@ class phpbb_functional_acp_test extends phpbb_functional_test_case
// Browse all ACP submodules' modes
foreach ($acp_submodules as $acp_submodule)
{
// Don't click the ACP Extensions Catalog to prevent calling an external HTTP service in the test suite
if ($acp_submodule->getNode()->textContent === $this->lang('ACP_EXTENSIONS_CATALOG'))
{
continue;
}
self::$client->click($acp_submodule);
self::assert_response_html();
}