4ec0c3a9168d8cfe22d3defdccb4a5a55d4d2f9d
Cover all REST handlers with httptest-based tests using real SQLite: zones (list, get, create, update, delete), records (list, get, create, update, delete with validation/conflict cases), requireAdmin middleware (admin, non-admin, missing context), and utility functions (writeJSON, writeError, extractBearerToken, tokenInfoFromContext). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
Go
97.5%
Shell
1.2%
Makefile
0.7%
Dockerfile
0.6%