Monday, April 14, 2014

Re: 3.0 - Fixtures ?

You are right, there seems to be a bug loading plugin fixtures. Could you open a ticket, please?

On Monday, April 14, 2014 11:56:11 AM UTC+2, Thomas von Hassel wrote:
<?php  namespace MyPlugin\Test\Fixture;    use Cake\TestSuite\Fixture\TestFixture;    /**   * AcoFixture   *   */  class MyTableFixture extends TestFixture {    /**   * Fields   *   * @var array   */  	public $fields = [  		'id' => ['type' => 'integer', 'length' => 10, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],  		'parent_id' => ['type' => 'integer', 'length' => 10, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],  		'model' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],  		'foreign_key' => ['type' => 'integer', 'length' => 10, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],  		'alias' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],  		'lft' => ['type' => 'integer', 'length' => 10, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],  		'rght' => ['type' => 'integer', 'length' => 10, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],  		'_indexes' => [  			'parent_id' => ['type' => 'index', 'columns' => ['parent_id'], 'length' => []],  			'foreign_key' => ['type' => 'index', 'columns' => ['foreign_key'], 'length' => []],  			'alias' => ['type' => 'index', 'columns' => ['alias'], 'length' => []],  			'model' <font
...

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: