According to http://drupal.org/node/265828, the method signature for assertPattern() is
assertPattern($pattern, $subject, $message= '%s', $group= 'Other')
but in CVS HEAD it is
assertPattern($pattern, $message = '%s', $group = 'Other')
i.e. it operates on $this->drupalGetContent() like assertText(), assertRaw() etc.
The same applies to assertNoPattern().
Comments
Comment #1
Noyz commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
Comment #2
Noyz commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
Comment #3
dawehneryes this is definitve wrong documentation
can anyone review
i had to add a space to the inner codes
Comment #4
MGParisi commentedIf you applied the post, and no one has commented or changed it then after 5 months, its a good sign that its correct.
Set to Fix
Comment #5
jhodgdonThe fix had not been applied, actually.
It is applied now. I verified that the issue was correct, and fixed it more or less as the person above suggested.
Comment #6
MGParisi commentedthanks :-)