fix test issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m5s
API CI/CD / Test (PHPUnit) (push) Failing after 7m12s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-07-06 02:39:13 -04:00
parent 90f9857b06
commit 304fa6bfd0
14 changed files with 1018 additions and 17 deletions
@@ -2,6 +2,7 @@
namespace Tests\Unit\Services\Refunds;
use App\Services\ApplicationUrlService;
use App\Services\Discounts\DiscountInvoiceService;
use App\Services\Fees\FeeRefundDetailService;
use App\Services\Refunds\RefundInvoiceAdjustmentService;
@@ -85,7 +86,7 @@ class RefundPolicyServiceTest extends TestCase
$service = new RefundPolicyService(
new FeeRefundDetailService,
new RefundInvoiceAdjustmentService(new DiscountInvoiceService)
new RefundInvoiceAdjustmentService(new DiscountInvoiceService(app(ApplicationUrlService::class)))
);
$result = $service->processWithdrawalRefund(10, 1, '2025-2026', 'Fall', 1);