bring into standalone plugin for distribution
This commit is contained in:
36
tests/Fixture/ProductCatalogsFixture.php
Normal file
36
tests/Fixture/ProductCatalogsFixture.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace CakeProducts\Test\Fixture;
|
||||
|
||||
use Cake\TestSuite\Fixture\TestFixture;
|
||||
|
||||
/**
|
||||
* ProductCatalogsFixture
|
||||
*/
|
||||
class ProductCatalogsFixture extends TestFixture
|
||||
{
|
||||
/**
|
||||
* Init method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function init(): void
|
||||
{
|
||||
$this->records = [
|
||||
[
|
||||
'id' => '115153f3-2f59-4234-8ff8-e1b205761428',
|
||||
'name' => 'Automotive',
|
||||
'catalog_description' => '',
|
||||
'enabled' => true,
|
||||
],
|
||||
[
|
||||
'id' => 'f56f3412-ed23-490b-be6e-016208c415d2',
|
||||
'name' => 'Software',
|
||||
'catalog_description' => '',
|
||||
'enabled' => true,
|
||||
],
|
||||
];
|
||||
parent::init();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user