Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
+4 -4
View File
@@ -3,24 +3,24 @@
namespace Tests\Unit\Models;
use App\Models\PurchaseOrder;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\SoftDeletes;
use PHPUnit\Framework\TestCase;
class PurchaseOrderTest extends TestCase
{
public function test_model_metadata_is_converted(): void
{
$model = new PurchaseOrder();
$model = new PurchaseOrder;
$this->assertSame('purchase_orders', $model->getTable());
$this->assertSame('id', $model->getKeyName());
$this->assertSame(true, $model->timestamps);
$this->assertSame(["po_number", "supplier_id", "status", "order_date", "expected_date", "subtotal", "tax", "total", "notes"], $model->getFillable());
$this->assertSame(['po_number', 'supplier_id', 'status', 'order_date', 'expected_date', 'subtotal', 'tax', 'total', 'notes'], $model->getFillable());
}
public function test_model_class_loads(): void
{
$this->assertInstanceOf(PurchaseOrder::class, new PurchaseOrder());
$this->assertInstanceOf(PurchaseOrder::class, new PurchaseOrder);
$this->assertContains(SoftDeletes::class, class_uses_recursive(PurchaseOrder::class));
}
}