== Health ==
[FAIL] GET /
== Categories ==
[FAIL] GET /categories null
== Customer register ==
[FAIL] register customer
== Duplicate register ==
[FAIL] duplicate mobile rejected
== Customer login ==
[FAIL] customer login
[FAIL] customer role
== Wrong password ==
[FAIL] wrong password rejected
== Profile (no token) ==
[FAIL] profile requires token
== Profile (with token) ==
[FAIL] profile with token
[FAIL] customer subscription inactive initially
== Update profile ==
[FAIL] update profile
== Provider register ==
[FAIL] register provider
== Provider login ==
[FAIL] provider login
[FAIL] provider account_status pending
== Provider profile ==
[FAIL] provider profile
== Subscription plans ==
[FAIL] plans fetched
[FAIL] customer plan ₹199
[FAIL] provider plan ₹499
== Subscription status (inactive) ==
[FAIL] subscription status inactive
== Create order (test mode) ==
Warning: Trying to access array offset on value of type null in /home/billkarl/public_html/local-services/database/test_api.php on line 147
[FAIL] create order code=0 raw=
[FAIL] test mode flag raw=
== Verify payment (bad signature) ==
Warning: Trying to access array offset on value of type null in /home/billkarl/public_html/local-services/database/test_api.php on line 154
[FAIL] bad signature rejected
== Verify payment (good signature) ==
Warning: Trying to access array offset on value of type null in /home/billkarl/public_html/local-services/database/test_api.php on line 163
[FAIL] verify payment activates
== Duplicate payment guard ==
Warning: Trying to access array offset on value of type null in /home/billkarl/public_html/local-services/database/test_api.php on line 169
[FAIL] duplicate payment rejected
== Subscription status (active) ==
[FAIL] subscription now active
== Provider subscription ==
Warning: Trying to access array offset on value of type null in /home/billkarl/public_html/local-services/database/test_api.php on line 178
[FAIL] provider order
Warning: Trying to access array offset on value of type null in /home/billkarl/public_html/local-services/database/test_api.php on line 184
[FAIL] provider subscription active
== Provider add service (before account active) ==
[FAIL] service creation blocked while pending
== Activate provider account (simulate admin) ==
== Provider add service ==
[FAIL] service created pending
== Customer search (no approved services yet) ==
[PASS] search empty before approval
== Approve service (direct DB) ==
== Customer search (after approval) ==
[FAIL] search returns approved service
[FAIL] service has provider info
== Service detail ==
[FAIL] service detail
== Providers list ==
[FAIL] providers list
== Add address ==
[FAIL] address added
== Booking before subscription (should pass now) ==
[FAIL] booking created
[FAIL] booking number
== Booking without active customer sub (simulate) ==
[FAIL] booking blocked without subscription
== Provider sees new booking ==
[FAIL] provider sees pending booking
== Provider accepts booking ==
[FAIL] booking accepted
== Provider invalid transition ==
[FAIL] invalid transition rejected
== Provider on the way / started / completed ==
[FAIL] booking completed
== Customer booking list ==
[FAIL] customer completed booking
== Review ==
[FAIL] review submitted
== Duplicate review ==
[FAIL] duplicate review rejected
== Review before completion ==
[FAIL] review blocked for non-completed booking
== Provider reviews ==
[FAIL] provider reviews
== Provider rating updated ==
[FAIL] provider avg rating 5.0 null | pid=0
== Notifications ==
[FAIL] provider notifications
[FAIL] unread count
[FAIL] mark notification read
== Provider earnings summary ==
[FAIL] summary has completed
[FAIL] summary has earnings
== Provider cancel own service test ==
[FAIL] provider service list
== Logout ==
[FAIL] logout
[FAIL] token revoked after logout
== Not found ==
[FAIL] 404 for unknown route
============================================
PASS: 1 FAIL: 56