I'm having a difficult time setting up a test fixture to import from
another table or model. It silently dies, and I've isolated it to
where it dies. In the cake_test_fixture.php file, when a model is
created to import from (line 69 or 75 in the beta 6311 version), the
model instantiation bit dies silently.

Interestingly, if I comment out the fixture property in my Test Case,
and then add the same model creation line (either by table or by
model, with the variables fleshed out) in a setUp() method, it works
just fine and creates the object.

I added a line at the top of test case to import AppModel, Model,
DataSource, DboSource, etc (taken from the model.test.php file)
thinking it might have to do with the availabiltiy of those classes,
but no luck.

Where am I going wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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