Closed (fixed)
Project:
SimpleTest
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2008 at 05:00 UTC
Updated:
5 Apr 2008 at 06:32 UTC
Jump to comment: Most recent file
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.