|
From: Margy L. Y. <Ma...@uu...> - 2008-08-22 16:29:15
|
I've got it! I was looping through an array of fields and values,
setting various fields to various values and checking the database to
make sure that the correct value was stored. However, for checkboxes,
the set value ('on') isn't the same as the saved value (-1), so my test
failed. I just need to special-case checkboxes.
Thanks for your quick offer of help! I love SimpleTest.
Margy Levine Young, Systems Analyst
UUA Information Technology Staff Group
my...@uu..., 802-989-3371
"We need not think alike to love alike." -- David Ferenc
-----Original Message-----
From: sim...@li...
[mailto:sim...@li...] On Behalf Of
Marcus Baker
Sent: Friday, August 22, 2008 9:26 AM
To: Help, advice, bugs and workarounds
Subject: Re: [Simpletest-support] Setting a checkbox
Hi...
Margy Levine Young wrote:
> Is 'on' not the right value to use? I've tried true, 1, -1, 'checked',
> 'selected', you name it!
'on' or true should have worked. Can you post the bit of HTML it was
trying to read, and the test? I can debug from there.
> Margy Levine Young, Systems Analyst
yours, Marcus
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Simpletest-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simpletest-support
|