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:
@@ -58,6 +58,12 @@ class phpbb_functional_acp_test extends phpbb_functional_test_case
|
|||||||
// Browse all ACP submodules' modes
|
// Browse all ACP submodules' modes
|
||||||
foreach ($acp_submodules as $acp_submodule)
|
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::$client->click($acp_submodule);
|
||||||
self::assert_response_html();
|
self::assert_response_html();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user