| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- namespace Tools\Test\Fixture;
- use Cake\TestSuite\Fixture\TestFixture;
- class MultiColumnUsersFixture extends TestFixture {
- /**
- * fields property
- *
- * @var array
- */
- public $fields = [
- 'id' => ['type' => 'integer'],
- 'user_name' => ['type' => 'string', 'null' => false],
- 'email' => ['type' => 'string', 'null' => false],
- 'password' => ['type' => 'string', 'null' => false],
- 'token' => ['type' => 'string', 'null' => false],
- 'created' => 'datetime',
- 'updated' => 'datetime',
- '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
- ];
- /**
- * records property
- *
- * @var array
- */
- public $records = [
- [
- 'user_name' => 'mariano',
- 'email' => 'mariano@example.com',
- 'password' => '5f4dcc3b5aa765d61d8327deb882cf99',
- 'token' => '12345', 'created' => '2007-03-17 01:16:23',
- 'updated' => '2007-03-17 01:18:31'
- ],
- [
- 'user_name' => 'nate',
- 'email' => 'nate@example.com',
- 'password' => '5f4dcc3b5aa765d61d8327deb882cf99',
- 'token' => '23456',
- 'created' => '2007-03-17 01:18:23',
- 'updated' => '2007-03-17 01:20:31'
- ],
- [
- 'user_name' => 'larry',
- 'email' => 'larry@example.com',
- 'password' => '5f4dcc3b5aa765d61d8327deb882cf99',
- 'token' => '34567',
- 'created' => '2007-03-17 01:20:23',
- 'updated' => '2007-03-17 01:22:31'
- ],
- [
- 'user_name' => 'garrett',
- 'email' => 'garrett@example.com',
- 'password' => '5f4dcc3b5aa765d61d8327deb882cf99',
- 'token' => '45678',
- 'created' => '2007-03-17 01:22:23',
- 'updated' => '2007-03-17 01:24:31'
- ],
- [
- 'user_name' => 'chartjes',
- 'email' => 'chartjes@example.com',
- 'password' => '5f4dcc3b5aa765d61d8327deb882cf99',
- 'token' => '56789',
- 'created' => '2007-03-17 01:22:23',
- 'updated' => '2007-03-17 01:24:31'
- ]
- ];
- }
|