diff options
author | Liviu-Mihail Concioiu <liviu.concioiu@gmail.com> | 2021-04-26 15:32:03 +0300 |
---|---|---|
committer | Liviu-Mihail Concioiu <liviu.concioiu@gmail.com> | 2021-04-26 15:32:03 +0300 |
commit | 1c8f9b4d23d405093d6fb5cd0f31f12be6d6da08 (patch) | |
tree | aa8cbefab23e65583dbac0c257a2bc57b7e17630 /test/classes | |
parent | 6e8c65c559e55549bcad1f5c92b48d81d716ba7c (diff) |
Replace secure.php.net with www.php.net and remove Polish and Persian from PHP documentation
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
Diffstat (limited to 'test/classes')
-rw-r--r-- | test/classes/CoreTest.php | 2 | ||||
-rw-r--r-- | test/classes/Html/GeneratorTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/classes/CoreTest.php b/test/classes/CoreTest.php index 6095d374ef..39e1dfbf44 100644 --- a/test/classes/CoreTest.php +++ b/test/classes/CoreTest.php @@ -532,7 +532,7 @@ class CoreTest extends AbstractNetworkTestCase $lang = _pgettext('PHP documentation language', 'en'); $this->assertEquals( Core::getPHPDocLink('function'), - './url.php?url=https%3A%2F%2Fsecure.php.net%2Fmanual%2F' + './url.php?url=https%3A%2F%2Fwww.php.net%2Fmanual%2F' . $lang . '%2Ffunction' ); } diff --git a/test/classes/Html/GeneratorTest.php b/test/classes/Html/GeneratorTest.php index 9495abba58..f4b292a75d 100644 --- a/test/classes/Html/GeneratorTest.php +++ b/test/classes/Html/GeneratorTest.php @@ -172,7 +172,7 @@ class GeneratorTest extends AbstractTestCase $target = 'docu'; $lang = _pgettext('PHP documentation language', 'en'); - $expected = '<a href="./url.php?url=https%3A%2F%2Fsecure.php.net%2Fmanual%2F' . $lang + $expected = '<a href="./url.php?url=https%3A%2F%2Fwww.php.net%2Fmanual%2F' . $lang . '%2F' . $target . '" target="documentation">' . '<img src="themes/dot.gif" title="' . __('Documentation') . '" alt="' . __('Documentation') . '" class="icon ic_b_help"></a>'; |