Friday, November 25, 2011

How to add a fixture to a plugin test?

Hi!

I have a fixture in plugins/Bancha/Test/Fixture/ArticleFixture.php and
a test case in plugins/Bancha/Test/Case/System/ConsistencyTests.php,
written for CakePHP 2.0.

Corresponding to the cookbook I just have to include following line:
public $fixtures = array('plugin.bancha.article');

But this doesn't work. What am I doing wrong?

thanks
Roland

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: