This commit is contained in:
baodev0
2026-09-23 15:17:18 +07:00
parent cd38c5d6d0
commit 82a71244ca
107 changed files with 3332 additions and 3306 deletions
@@ -23,7 +23,14 @@ class ClientDomainOrderTest extends TestCase
{
parent::setUp();
$this->customer = Customer::factory()->create(['total' => 1_000_000]);
$this->withHeaders(['x-access-token' => $this->buildClientAccessToken()]);
$this->customer = Customer::factory()->create([
'total' => 1_000_000,
// DomainOrderService bắt buộc đã có ảnh CCCD 2 mặt
'front_identity_number' => 'cccd/front.jpg',
'back_identity_number' => 'cccd/back.jpg',
]);
// Minimal domain product — product_type is set automatically from category
// but we force it directly since we have no category seeder in tests