php - Load models to model test case in CakePHP -


is there way load many models model test case in cakephp?

i've tried way

class footestcase extends caketestcase {  public function setup() {     parent::setup();      $this->foo = classregistry::init('foo');     $this->bar = classregistry::init('bar');     $this->unit = classregistry::init('unit');  } } 


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -