This commit is contained in:
hashbro
2026-08-29 00:15:54 +08:00
parent 4c2eb16211
commit e9192d5720
11 changed files with 152 additions and 39 deletions
+14
View File
@@ -48,6 +48,20 @@ class IngestServiceNormalizeTest extends TestCase
);
}
#[Test]
public function extract_device_key_reads_ecid(): void
{
$ingest = $this->app->make(IngestService::class);
$this->assertSame(
'0006345E0A09002E',
$ingest->extractDeviceKey([
'account' => '2348034472071',
'ecid' => '0006345E0A09002E',
'unique' => '00008020-0006345E0A09002E',
])
);
}
#[Test]
public function decode_hex_counter_pair_splits_idx_ftu(): void
{