Files
cake-contact-us/tests/Fixture/ContactUsFormSubmissionsFixture.php

39 lines
730 B
PHP
Raw Permalink Normal View History

2025-01-09 23:47:18 -08:00
<?php
declare(strict_types=1);
namespace CakeContactUs\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
use Cake\Utility\Text;
2025-01-09 23:47:18 -08:00
/**
* ContactUsFormSubmissionsFixture
*/
class ContactUsFormSubmissionsFixture extends TestFixture {
/**
2025-01-09 23:47:18 -08:00
* Init method
*
* @return void
*/
public function init(): void {
$this->records = [
[
'id' => Text::uuid(),
2026-01-28 02:02:30 -08:00
'submitted_at' => '2018-07-21 16:11:03',
'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,
],
];
parent::init();
}
2025-01-09 23:47:18 -08:00
}