diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-10-06 23:08:32 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 22:14:07 +0200 |
commit | 3e5247187c0b0bb16c813c0eab6c1421e8a0a81b (patch) | |
tree | 913d0b796612d5c55e29bee755328a8474796d94 /tests/functional | |
parent | 75d957e9e1162472d19dcacdd301c74ec8ffd250 (diff) | |
download | forums-3e5247187c0b0bb16c813c0eab6c1421e8a0a81b.tar forums-3e5247187c0b0bb16c813c0eab6c1421e8a0a81b.tar.gz forums-3e5247187c0b0bb16c813c0eab6c1421e8a0a81b.tar.bz2 forums-3e5247187c0b0bb16c813c0eab6c1421e8a0a81b.tar.xz forums-3e5247187c0b0bb16c813c0eab6c1421e8a0a81b.zip |
[ticket/15377] Add test
PHPBB3-15377
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/extension_controller_test.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php index 58c3878b8b..2957749e89 100644 --- a/tests/functional/extension_controller_test.php +++ b/tests/functional/extension_controller_test.php @@ -90,6 +90,15 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c } /** + * Check includejs/includecss when the request_uri is a subdirectory + */ + public function test_controller_template_include_js_css() + { + $crawler = self::request('GET', 'app.php/help/faq'); + $this->assertContains("./../../assets/javascript/core.js", $crawler->filter('body')->html()); + } + + /** * Check the error produced by calling a controller without a required * argument. */ |