### Eclipse Workspace Patch 1.0 #P simpletest Index: drupal_test_case.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/drupal_test_case.php,v retrieving revision 1.64 diff -u -r1.64 drupal_test_case.php --- drupal_test_case.php 23 Mar 2008 22:06:33 -0000 1.64 +++ drupal_test_case.php 24 Mar 2008 01:51:05 -0000 @@ -832,7 +832,7 @@ $this->assertFieldByXPath($this->_constructFieldXpath('name', $name), $value, $message ? $message : t(' [browser] found field by name @name', array('@name' => $name))); } function assertFieldById($id, $value = '', $message = '') { - $this->assertFieldByXPath($this->_constructFieldXpath('id', $id), $value, $message ? $message : t(' [browser] found field by id @id', array('@id' => $name))); + $this->assertFieldByXPath($this->_constructFieldXpath('id', $id), $value, $message ? $message : t(' [browser] found field by id @id', array('@id' => $id))); } function assertField($field, $message = '') { $this->assertFieldByXPath($this->_constructFieldXpath('name', $field) .'|'. $this->_constructFieldXpath('id', $field), '', $message);