first/last name instead ofj ust name, fix og migration instead of updating in second file sqlite issue

This commit is contained in:
2026-01-26 23:31:29 -08:00
parent ea1cb8cd29
commit 348665deb8
15 changed files with 74 additions and 94 deletions

View File

@@ -3,7 +3,9 @@ declare(strict_types=1);
namespace CakeContactUs\Test\Fixture;
use Cake\I18n\FrozenTime;
use Cake\TestSuite\Fixture\TestFixture;
use Cake\Utility\Text;
/**
* ContactUsFormSubmissionsFixture
@@ -18,7 +20,21 @@ class ContactUsFormSubmissionsFixture extends TestFixture {
* @return void
*/
public function init(): void {
$this->records = [];
$this->records = [
[
'id' => Text::uuid(),
'submitted_at' => new FrozenTime(),
'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();
}