After the rash of commits tonight, assertField() fails because:
function assertField($id, $message = '') {
$this->assertFieldByXPath($this->_constructFieldXpath('name', $name) .'|'. $this->_constructFieldXpath('id', $id), '', $message);
}
$name isn't passed into the function.
Patch should be credited to chx, who told me how to fix it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | simpletest-fix-assertfield-237407-1.patch | 1.07 KB | webchick |
Comments
Comment #1
webchickComment #2
chx commentedI committed something that fixed this -- replaced both $name and $id with $field.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.