On Wed, Oct 29, 2008 at 5:55 PM, Adrien Mogenet
<[EMAIL PROTECTED]> wrote:

> This is the test of my colleague, and I find his coding style is not
> easily readable ;-)  then I pasted the code here :
>
> http://pastebin.com/m7b022dee
>
> Maybe there is something wrong with the files he includes ?

Your code will throw notice or warnings because you use this syntax:

$t->can_ok(User, getUkashOutBalance);

Here getUkashOutBalance is resolved as a constant first, and as a
string if constant is not defined.

Try to put these method names into quotes, maybe it will solve your problem:

$t->can_ok(User, 'getUkashOutBalance');

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to