|
From: Christoph B. <ber...@ne...> - 2009-05-12 14:24:23
|
I'm testing a simple form with WebTestCase, and finding that values set in
text fields are sticking (making it to the backend), but that values set in
a text area and in a set of radio buttons (<input type="radio" name="rad"
value="val1"> <input type="radio" name="rad" value="val2"> etc) are not
making it to the backend. These fields work as expected when I test the
form manually.
I see all the fields with this code
> $this->assertTrue(
>
$this->setField($fieldName,$fieldValue),
>
($fieldName." could not be set to ".$fieldValue)
>
);
>
and the assertion succeeds on all fields.
Is there some way to see the contents of the POST as Simpletest submits it?
Thanks.
|