Posted by webchick on March 22, 2008 at 5:00am
2 followers
| Project: | SimpleTest |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
#2
I committed something that fixed this -- replaced both $name and $id with $field.
#3
Automatically closed -- issue fixed for two weeks with no activity.