diff -u b/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php --- b/core/modules/simpletest/src/WebTestBase.php +++ b/core/modules/simpletest/src/WebTestBase.php @@ -3307,9 +3307,10 @@ * @param $name * Name of field to assert. * @param $value - * (optional) Value of the field to assert. Providing a NULL value asserts - * that the field doesn't exist. Note that if no value is provided, this - * asserts that the field value is not ''. + * (optional) Value for the field, to assert that the field's value on the + * page doesn't match it. You may pass in NULL to skip checking the + * value, while still checking that the field doesn't exist. However, the + * default value ('') asserts that the field value is not an empty string. * @param $message * (optional) A message to display with the assertion. Do not translate * messages: use format_string() to embed variables in the message text, not @@ -3360,9 +3361,9 @@ * @param $id * ID of field to assert. * @param $value - * (optional) Value for the field, to assert that the field's value on the - * page doesn't match it. You may pass in NULL to skip checking the value, - * while still checking that the field doesn't exist. However, the default + * (optional) Value for the field, to assert that the field's value on the + * page doesn't match it. You may pass in NULL to skip checking the value, + * while still checking that the field doesn't exist. However, the default * value ('') asserts that the field value is not an empty string. * @param $message * (optional) A message to display with the assertion. Do not translate