All checks were successful
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m5s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m51s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 7m33s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 4m3s
CI / testsuite (mysql, 8.4, ) (push) Successful in 19m7s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 12m58s
CI / Coding Standard & Static Analysis (push) Successful in 3m17s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 16m8s
39 lines
730 B
PHP
39 lines
730 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace CakeContactUs\Test\Fixture;
|
|
|
|
use Cake\TestSuite\Fixture\TestFixture;
|
|
use Cake\Utility\Text;
|
|
|
|
/**
|
|
* ContactUsFormSubmissionsFixture
|
|
*/
|
|
class ContactUsFormSubmissionsFixture extends TestFixture {
|
|
|
|
/**
|
|
* Init method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function init(): void {
|
|
$this->records = [
|
|
[
|
|
'id' => Text::uuid(),
|
|
'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();
|
|
}
|
|
|
|
}
|