Hi

i wrote a plugin that has just a behavior inside.

and i want to write a test case for that plugin.

i need to test if the data array of the model that is attached to the
behavior is changed
because i call a particular function in the  behavior.

however that function will only change the data array ONLY if the
useTable variable of the model is NOT false.

Now here comes the problem.

The Model Class i wrote inside the same test case file extends
TestCaseModel but it has useTable set as false. and if i try to set to
anything. i will get error about missing datatable.


Please advise.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to