initial commit
All checks were successful
Build and Push to ACR / Platform guard (push) Successful in 5s
Build and Push to ACR / Build and Push (push) Has been skipped

Change-Id: Ied1b5f2137f2b5f803d5411235607bd27c5e57ba
This commit is contained in:
Scaffolder
2026-03-24 10:43:21 +00:00
commit e868792eda
19 changed files with 1205 additions and 0 deletions

16
main_test.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import (
"net/http"
"net/http/httptest"
"testing"
)
func TestHealth(t *testing.T) {
req := httptest.NewRequest(http.MethodGet, "/health", nil)
rec := httptest.NewRecorder()
healthHandler(rec, req)
if rec.Code != http.StatusOK {
t.Fatalf("expected 200, got %d", rec.Code)
}
}