diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-12-27 17:51:40 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-12-27 17:55:14 +0100 |
commit | 68ce16f9b33c5aea8f7f6530dd06eb4661333b0b (patch) | |
tree | 4c82920d84c7c9cc493d0376a15713bc7ac4c920 /tests/functional/extension_controller_test.php | |
parent | a304d99b2b5d0b69548b81b013aa711838ff521d (diff) | |
download | forums-68ce16f9b33c5aea8f7f6530dd06eb4661333b0b.tar forums-68ce16f9b33c5aea8f7f6530dd06eb4661333b0b.tar.gz forums-68ce16f9b33c5aea8f7f6530dd06eb4661333b0b.tar.bz2 forums-68ce16f9b33c5aea8f7f6530dd06eb4661333b0b.tar.xz forums-68ce16f9b33c5aea8f7f6530dd06eb4661333b0b.zip |
[ticket/11997] Use path_helper in in foo/bar extension for redirect URLs
By using path_helper's clean_url() method, we'll be able to properly check
the full URL instead of just parts of the expected URL.
PHPBB3-11997
Diffstat (limited to 'tests/functional/extension_controller_test.php')
-rw-r--r-- | tests/functional/extension_controller_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php index 2476cf0c19..4725301141 100644 --- a/tests/functional/extension_controller_test.php +++ b/tests/functional/extension_controller_test.php @@ -134,7 +134,7 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c $redirect = $crawler->filter('#redirect_' . $row_num)->text(); $redirect = substr($redirect, 0, strpos($redirect, 'sid') - 1); - $this->assertContains($crawler->filter('#redirect_expected_' . $row_num)->text(), $redirect); + $this->assertEquals($crawler->filter('#redirect_expected_' . $row_num)->text(), $redirect); } $this->phpbb_extension_manager->purge('foo/bar'); |