Commit 6e78c49b authored by jhodgdon's avatar jhodgdon
Browse files

Issue #1797940 by Lars Toomre: Properly document helper function in language tests

parent 1518a943
......@@ -67,6 +67,13 @@ function testUrlRewritingEdgeCases() {
* The test is performed with a fixed URL (the default front page) to simply
* check that language prefixes are not added to it and that the prefixed URL
* is actually not working.
*
* @param string $language
* The language prefix, e.g. 'es'.
* @param string $message1
* Message to display in assertion that language prefixes are not added.
* @param string $message2
* The message to display confirming prefixed URL is not working.
*/
private function checkUrl($language, $message1, $message2) {
$options = array('language' => $language, 'script' => '');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment