========================================== BookIdDetector Fix Verification ==========================================
Class "App\Services\BookIdDetector" not found
dev-utils/test_bookid_detector_fix.php
62
63$passed = 0;
64$failed = 0;
65
66foreach ($testCases as $bookId => $expectedService) {
67 $detectedService = BookIdDetector::detectService($bookId);
68 $status = $detectedService === $expectedService ? '✅' : '❌';
69
70 if ($detectedService === $expectedService) {
71 $passed++;
72 } else {
73 $failed++;
74 }
75
76 echo "{$status} ID: {$bookId} | Expected: {$expectedService} | Detected: {$detectedService}\n";
77}
78
79