add test batches
This commit is contained in:
@@ -30,7 +30,7 @@ class DiscountApplyServiceTest extends TestCase
|
||||
'is_active' => 1,
|
||||
]);
|
||||
|
||||
$service = new DiscountApplyService(new DiscountContextService, new DiscountInvoiceService);
|
||||
$service = new DiscountApplyService(new DiscountContextService(), new DiscountInvoiceService());
|
||||
$result = $service->applyVoucher(1, [10], true, 1);
|
||||
|
||||
$this->assertFalse($result['ok']);
|
||||
|
||||
Reference in New Issue
Block a user