Skip to content
Snippets Groups Projects
Commit 6e78c49b authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

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

parent 1518a943
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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' => '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment