lundi 5 octobre 2015

Load fixture in the Php unit test case

I have written one php unit test case, I wanted to load data from the database. I referred http://ift.tt/GSC2QT link and tried

class ArticleTest extends CakeTestCase { public $fixtures = array('app.article', 'app.comment'); }

but it didn't help. Can anyone help me out with this?

Aucun commentaire:

Enregistrer un commentaire