1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15725] Fix installing ext in tests for master branch

PHPBB3-15725
This commit is contained in:
rxu
2018-07-28 16:32:24 +07:00
committed by Marc Alexander
parent 64b053c997
commit ab0dae6003
3 changed files with 151 additions and 4 deletions

View File

@@ -233,5 +233,10 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
// Attempt to enable invalid extension
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=enable_pre&ext_name=barfoo&sid=' . $this->sid);
$this->assertContainsLang('EXTENSION_DIR_INVALID', $crawler->filter('.errorbox')->text());
// Test installing/uninstalling extension altogether
$this->logout();
$this->install_ext('vendor/moo');
$this->uninstall_ext('vendor/moo');
}
}