fix test run issue
Tests / PHPUnit (push) Successful in 1m21s

This commit is contained in:
root
2026-07-18 23:18:49 -04:00
parent a30c1398a1
commit 2be16553df
15 changed files with 368 additions and 17 deletions
+5
View File
@@ -3,9 +3,12 @@
namespace App\Models;
use CodeIgniter\Model;
use App\Models\Concerns\SchoolYearAutoFillTrait;
class RefundPayoutModel extends Model
{
use SchoolYearAutoFillTrait;
protected $table = 'refund_payouts';
protected $primaryKey = 'id';
protected $returnType = 'array';
@@ -13,6 +16,7 @@ class RefundPayoutModel extends Model
protected $allowedFields = [
'refund_id',
'school_year',
'amount_cents',
'currency',
'payout_type',
@@ -36,6 +40,7 @@ class RefundPayoutModel extends Model
protected $validationRules = [
'refund_id' => 'required|integer',
'school_year' => 'required|string|max_length[9]',
'amount_cents' => 'required|integer|greater_than[0]',
'currency' => 'required|exact_length[3]',
'payout_type' => 'required|in_list[cash_out,account_credit,reversal]',