testing update + docs
This commit is contained in:
@@ -1,6 +1,21 @@
|
||||
//go:build test
|
||||
// +build test
|
||||
|
||||
// Package admin contains tests for admin dashboard "today" endpoints.
|
||||
//
|
||||
// Test Coverage:
|
||||
// - GetCurrentAndNextHandler: GET /api/admin/today/current-next - Get current & next booking
|
||||
// - GetTodayAppointmentsHandler: GET /api/admin/today/appointments - Get today's bookings
|
||||
// - GetPendingApprovalsHandler: GET /api/admin/today/pending-approvals - Get pending bookings
|
||||
// - GetNotifications: GET /api/admin/notifications - List notifications (WIP - skipped)
|
||||
// - AcknowledgeNotification: POST /api/admin/notifications/{id}/ack - Acknowledge (WIP - skipped)
|
||||
//
|
||||
// Authentication: All endpoints require admin role (403 for non-admins).
|
||||
// WIP: Notification tests are skipped pending handler implementation.
|
||||
package admin
|
||||
//go:build test
|
||||
// +build test
|
||||
|
||||
package admin
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user