diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php index 823b3b8..bc65260 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php @@ -2606,8 +2606,8 @@ protected function assertNoFieldByName($name, $value = '', $message = '', $group * @return * TRUE on pass, FALSE on fail. */ - protected function assertFieldById($id, $value = '', $message = '', $other = 'Browser') { - return $this->assertFieldByXPath($this->constructFieldXpath('id', $id), $value, $message ? $message : t('Found field by id @id', array('@id' => $id)), $other); + protected function assertFieldById($id, $value = '', $message = '', $group = 'Browser') { + return $this->assertFieldByXPath($this->constructFieldXpath('id', $id), $value, $message ? $message : t('Found field by id @id', array('@id' => $id)), $group); } /** @@ -2960,13 +2960,13 @@ protected function assertMail($name, $value = '', $message = '', $group = 'E-mai * @param $group * (optional) The group this message is in, which is displayed in a column * in test output. Use 'Debug' to indicate this is debugging output. Do not - * translate this string. Defaults to 'E-mail'; most tests do not override + * translate this string. Defaults to 'Other'; most tests do not override * this default. * * @return * TRUE on pass, FALSE on fail. */ - protected function assertMailString($field_name, $string, $email_depth, $message ='', $group = 'E-mail') { + protected function assertMailString($field_name, $string, $email_depth, $message ='', $group = 'Other') { $mails = $this->drupalGetMails(); $string_found = FALSE; for ($i = count($mails) -1; $i >= count($mails) - $email_depth && $i >= 0; $i--) { @@ -3000,13 +3000,13 @@ protected function assertMailString($field_name, $string, $email_depth, $message * @param $group * (optional) The group this message is in, which is displayed in a column * in test output. Use 'Debug' to indicate this is debugging output. Do not - * translate this string. Defaults to 'E-mail'; most tests do not override + * translate this string. Defaults to 'Other'; most tests do not override * this default. * * @return * TRUE on pass, FALSE on fail. */ - protected function assertMailPattern($field_name, $regex, $message = '', $group = 'E-mail') { + protected function assertMailPattern($field_name, $regex, $message = '', $group = 'Other') { $mails = $this->drupalGetMails(); $mail = end($mails); $regex_found = preg_match("/$regex/", $mail[$field_name]);