/
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/CountiesFixture.php
(1160B)
<?php declare(strict_types=1); namespace App\Test\Fixture; use Cake\TestSuite\Fixture\TestFixture; /** * CountiesFixture */ class CountiesFixture 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], 'name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null], '_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, 'name' => 'Lorem ipsum dolor sit amet', ], ]; parent::init(); } }
Save
cmd:
run