/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
tests
/
Fixture
/
/var/www/vhosts/ihelp.ro/httpdocs/tests/Fixture
mkdir
upload
Name
Size
Mode
Actions
AwbsFixture.php
5336
0644
edit
dl
rm
CitiesFixture.php
2029
0644
edit
dl
rm
CountiesFixture.php
1160
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/tests/Fixture/AwbsFixture.php
(5336B)
<?php declare(strict_types=1); namespace App\Test\Fixture; use Cake\TestSuite\Fixture\TestFixture; /** * AwbsFixture */ class AwbsFixture extends TestFixture { /** * Fields * * @var array */ // phpcs:disable public $fields = [ 'id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null], 'sender_user_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], 'order_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], 'courier_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], 'recever_user_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], 'first_name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'last_name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'phone' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'city_name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'county_name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'str' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'nr' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'bl' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'sc' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'ap' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'interfon' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'postal_code' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'awb_code' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'awb_path' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], 'created' => ['type' => 'datetime', 'length' => null, 'precision' => null, 'null' => false, 'default' => null, 'comment' => ''], 'modified' => ['type' => 'datetime', 'length' => null, 'precision' => null, 'null' => false, 'default' => null, 'comment' => ''], '_constraints' => [ 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], ], '_options' => [ 'engine' => 'InnoDB', 'collation' => 'utf8_general_ci' ], ]; // phpcs:enable /** * Init method * * @return void */ public function init(): void { $this->records = [ [ 'id' => 1, 'sender_user_id' => 1, 'order_id' => 1, 'courier_id' => 1, 'recever_user_id' => 1, 'first_name' => 'Lorem ipsum dolor sit amet', 'last_name' => 'Lorem ipsum dolor sit amet', 'phone' => 'Lorem ipsum dolor sit amet', 'city_name' => 'Lorem ipsum dolor sit amet', 'county_name' => 'Lorem ipsum dolor sit amet', 'str' => 'Lorem ipsum dolor sit amet', 'nr' => 'Lorem ipsum dolor sit amet', 'bl' => 'Lorem ipsum dolor sit amet', 'sc' => 'Lorem ipsum dolor sit amet', 'ap' => 'Lorem ipsum dolor sit amet', 'interfon' => 'Lorem ipsum dolor sit amet', 'postal_code' => 'Lorem ipsum dolor sit amet', 'awb_code' => 'Lorem ipsum dolor sit amet', 'awb_path' => 'Lorem ipsum dolor sit amet', 'created' => '2021-02-05 09:49:36', 'modified' => '2021-02-05 09:49:36', ], ]; parent::init(); } }
Save
cmd:
run