2025-01-09 23:47:18 -08:00
|
|
|
<?php
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace CakeContactUs\Test\Fixture;
|
|
|
|
|
|
|
|
|
|
use Cake\TestSuite\Fixture\TestFixture;
|
2026-01-26 23:31:29 -08:00
|
|
|
use Cake\Utility\Text;
|
2025-01-09 23:47:18 -08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ContactUsFormSubmissionsFixture
|
|
|
|
|
*/
|
2026-01-24 01:20:17 -08:00
|
|
|
class ContactUsFormSubmissionsFixture extends TestFixture {
|
|
|
|
|
|
|
|
|
|
/**
|
2025-01-09 23:47:18 -08:00
|
|
|
* Init method
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2026-01-24 01:20:17 -08:00
|
|
|
public function init(): void {
|
2026-01-26 23:31:29 -08:00
|
|
|
$this->records = [
|
|
|
|
|
[
|
|
|
|
|
'id' => Text::uuid(),
|
2026-01-28 01:23:58 -08:00
|
|
|
'submitted_at' => '2018-07-21 16:11:03',
|
2026-01-26 23:31:29 -08:00
|
|
|
'client_ip' => 'cli',
|
|
|
|
|
'first_name' => 'test',
|
|
|
|
|
'last_name' => 'test',
|
|
|
|
|
'email' => 'test@test.com',
|
|
|
|
|
'contact_subject' => 'subject',
|
|
|
|
|
'message' => 'what are your business hours?',
|
|
|
|
|
'confirm_email_sent' => true,
|
|
|
|
|
'backend_email_sent' => true,
|
|
|
|
|
],
|
|
|
|
|
];
|
|
|
|
|
|
2026-01-24 01:20:17 -08:00
|
|
|
parent::init();
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-09 23:47:18 -08:00
|
|
|
}
|