update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user