mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/13612] Always display success message if extension was enabled
An error will already be triggered if enable_step() is not successful. Redirecting for no obvious reason will just confuse users. PHPBB3-13612
This commit is contained in:
@@ -422,14 +422,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
$meta_refresh = $crawler->filter('meta[http-equiv="refresh"]');
|
||||
}
|
||||
|
||||
if (!empty($meta_refresh))
|
||||
{
|
||||
$this->assertContainsLang('EXTENSIONS_ADMIN', $crawler->filter('.main > h1')->text());
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->assertContainsLang('EXTENSION_ENABLE_SUCCESS', $crawler->filter('div.successbox')->text());
|
||||
}
|
||||
$this->assertContainsLang('EXTENSION_ENABLE_SUCCESS', $crawler->filter('div.successbox')->text());
|
||||
|
||||
$this->logout();
|
||||
}
|
||||
|
Reference in New Issue
Block a user