|
From: Taras D. <Tar...@pr...> - 2008-09-02 15:39:28
|
Hi everyone,
I'm trying to use assertNoCookie: it seems simple enough to use, but I've been getting unexpected results. In particular, doing the following (inside a WebTestCase of course):
$this->assertNoCookie('arandomstringl;1jk5ljk15ljkldjasfljkasglajkgag')
fails (?!)
however, calling $this->getCookie('theSameStringAsAbove') returns 'null'.
Is this a bug, or am I missing something really obvious?
Thanks
Taras
Practical Law Company Limited. Registered in England and Wales. Registered Number: 02889191. Registered Office: 19 Hatfields, London SE1 8DJ. Telephone: +44(0)20 7202 1200. http://www.practicallaw.com. DISCLAIMERS: This e-mail is confidential to the ordinary user of the e-mail address to which it was addressed; it may contain personal views which are not the views of PLC unless specifically stated. If you have received it in error, please delete it from your system and notify the sender immediately; do not use, copy or disclose the information or otherwise use it or any part of it in any form whatsoever nor act in reliance on it. All liability for loss or damage caused by viruses is excluded. PLC uses the MessageLabs SkyScan service to monitor all outgoing and incoming e-mails for viruses, prohibited file-type attachments and inappropriate content in accordance with its Information and Communications Systems policy. You signify your consent to these terms by any further e-mail communication.
Save a tree...please don't print this e-mail unless you really need to.
|