--- Test 1: login salah password harus gagal --- [PASS] password salah ditolak --- Test 2: login benar harus sukses & set session --- [FAIL] login dengan password benar berhasil [FAIL] Auth::check() true setelah login [FAIL] tenant_id ter-set dengan benar (=1) --- Test 3: QueryBuilder - insert produk otomatis tenant_id ---
Fatal error: Uncaught RuntimeException: Insert ke tabel tenant-scoped 'produk' butuh tenant aktif. in /home/pefsdzhc/maxypos.akhirudin.com/app/Core/Table.php:157 Stack trace: #0 /home/pefsdzhc/maxypos.akhirudin.com/test_cli.php(26): App\Core\Table->insert() #1 {main} thrown in /home/pefsdzhc/maxypos.akhirudin.com/app/Core/Table.php on line 157