fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -2,13 +2,13 @@
namespace Tests\Unit\Services\Refunds;
use App\Services\Discounts\DiscountInvoiceService;
use App\Services\Fees\FeeRefundDetailService;
use App\Services\Refunds\RefundInvoiceAdjustmentService;
use App\Services\Refunds\RefundNotificationService;
use App\Services\Refunds\RefundPolicyService;
use App\Services\Refunds\RefundRequestService;
use App\Services\Refunds\RefundSummaryService;
use App\Services\Discounts\DiscountInvoiceService;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
use Tests\TestCase;
@@ -60,11 +60,11 @@ class RefundRequestServiceTest extends TestCase
$service = new RefundRequestService(
new RefundPolicyService(
new FeeRefundDetailService(),
new RefundInvoiceAdjustmentService(new DiscountInvoiceService())
new FeeRefundDetailService,
new RefundInvoiceAdjustmentService(new DiscountInvoiceService)
),
new RefundSummaryService(),
new RefundNotificationService()
new RefundSummaryService,
new RefundNotificationService
);
$result = $service->requestRefund([