<?php

use CodeIgniter\Test\CIUnitTestCase;
use App\Models\ProductionQueueModel;

final class ProductionFlowTest extends CIUnitTestCase
{
    public function testNormalizeQueueStatusMapsAdminValuesToQueueValues(): void
    {
        $model = new ProductionQueueModel();

        $this->assertSame('antrian', $model->normalizeQueueStatus('waiting'));
        $this->assertSame('produksi', $model->normalizeQueueStatus('process'));
        $this->assertSame('selesai', $model->normalizeQueueStatus('completed'));
    }
}
