Example #1
0
 public function setUp()
 {
     $this->defaultORMConfig = array('relationships' => array(array('type' => 'nestedSet', 'model' => 'fairy')));
     parent::setUp();
 }
 public function setUp()
 {
     $this->defaultORMConfig = array('relationships' => array(array('type' => $this->relationshipName, 'owner' => 'fairy', $this->itemKey => 'flower')));
     parent::setUp();
 }
 public function setUp()
 {
     $this->defaultORMConfig = array('models' => array('magic' => array('type' => 'embedded'), 'spell' => array('type' => 'embedded')), 'relationships' => array(array('type' => $this->relationshipName, 'owner' => 'fairy', $this->itemKey => 'magic'), array('type' => $this->relationshipName, 'owner' => 'magic', $this->itemKey => 'spell')));
     parent::setUp();
 }