Does the test user have full access to the database (including create and drop)?

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 20 Aug 2012, at 20:38:14, Andrew Johnston <[email protected]> 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!
> 
> -- 
> 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.
>  
>  
> <UserTest.php><UserFixture.php><user.php>

-- 
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