aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2018-07-28 16:32:24 +0700
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 18:46:50 +0200
commitab0dae600335eb66a31c951e27954accac208296 (patch)
treeb5e733677a44781cdc46c0b2234d6140ed287d69 /tests/functional
parent64b053c9970494521f610bb07c101a7b81ec618e (diff)
downloadforums-ab0dae600335eb66a31c951e27954accac208296.tar
forums-ab0dae600335eb66a31c951e27954accac208296.tar.gz
forums-ab0dae600335eb66a31c951e27954accac208296.tar.bz2
forums-ab0dae600335eb66a31c951e27954accac208296.tar.xz
forums-ab0dae600335eb66a31c951e27954accac208296.zip
[ticket/15725] Fix installing ext in tests for master branch
PHPBB3-15725
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/extension_acp_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php
index 68c33ae863..a8d5ace4cf 100644
--- a/tests/functional/extension_acp_test.php
+++ b/tests/functional/extension_acp_test.php
@@ -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');
}
}