From ab0dae600335eb66a31c951e27954accac208296 Mon Sep 17 00:00:00 2001 From: rxu Date: Sat, 28 Jul 2018 16:32:24 +0700 Subject: [ticket/15725] Fix installing ext in tests for master branch PHPBB3-15725 --- tests/functional/extension_acp_test.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/functional') 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'); } } -- cgit v1.2.1