On Monday, 20 August 2012 21:38:14 UTC+2, Andrew Johnston wrote:
>
> Hello everyone-
>
> I started testing my application with PHPUnit. All of the built in 
> tests succeed, but the test I created failed with the following error:
>
> SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error 
> in your SQL syntax; check the manual that corresponds to your MySQL server 
> version for the right syntax to use near '' at line 1
> Test case: UserTest(testCheck)
> I can't figure out the error; I tried basing my fixture and test case off 
> of the Cookbook. What is causing the error? How can I fix it?
>
> To help you help me, I've attached the relevant code.  Thanks in Advance!
>

including a link to a gist or similar would be more helpful. Why are you 
forcing everyone to download files to see where your mistake is?

AD 

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to