feat: add BankCard and WithdrawRequest factories with comprehensive methods and tests

This commit is contained in:
2026-09-21 05:03:07 +03:30
parent b4b1fdc288
commit 792387804c
6 changed files with 464 additions and 5 deletions
+4 -4
View File
@@ -102,8 +102,8 @@ Legend: `☐` not written · `☑` written · `—` intentionally not tested
| Priority | Source | Test | Status |
|----------|--------|------|--------|
| P1 | `app/Services/Wallet/WalletService.php` | `tests/Feature/Services/Wallet/WalletServiceTest.php` | ☑ |
| P1 | `app/Services/Wallet/WithdrawRequestService.php` | `tests/Feature/Services/Wallet/WithdrawRequestServiceTest.php` | ☐ |
| P1 | `app/Services/Invoice/InvoiceService.php` | `tests/Feature/Services/Invoice/InvoiceServiceTest.php` | ☐ |
| P1 | `app/Services/Wallet/WithdrawRequestService.php` | `tests/Feature/Services/Wallet/WithdrawRequestServiceTest.php` | ☑ |
| P1 | `app/Services/Invoice/InvoiceService.php` | `tests/Feature/Services/Invoice/InvoiceServiceTest.php` | ☑ |
| P1 | `app/Services/Payment/ZibalPaymentService.php` | `tests/Feature/Services/Payment/ZibalPaymentServiceTest.php` | ☐ |
| P1 | `app/Services/Auth/OtpService.php` | `tests/Feature/Services/Auth/OtpServiceTest.php` | ☐ |
| P1 | `app/Services/Auth/AuthService.php` | `tests/Feature/Services/Auth/AuthServiceTest.php` | ☐ |
@@ -196,8 +196,8 @@ Missing — create when first needed by a test:
|-------|--------|
| `Wallet` | ☑ |
| `WalletTransaction` | ☐ |
| `WithdrawRequest` | ☐ |
| `BankCard` | ☐ |
| `WithdrawRequest` | ☑ |
| `BankCard` | ☑ |
| `Invoice` | ☑ |
| `Payment` | ☑ |
| `OtpCode` | ☐ |