mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-15 00:22:28 +00:00
15dbabfe9a
Contract-Neutral: Docker URL migration touches shared monitor ingest files without changing the host deletion or re-enrollment contract.
18 lines
357 B
Go
18 lines
357 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/rcourtman/pulse-go-rewrite/internal/config"
|
|
)
|
|
|
|
func TestGuestMetadataHandler_Reload(t *testing.T) {
|
|
mtp := config.NewMultiTenantPersistence(t.TempDir())
|
|
handler := NewGuestMetadataHandler(mtp)
|
|
|
|
if err := handler.Reload(context.Background()); err != nil {
|
|
t.Fatalf("Reload error: %v", err)
|
|
}
|
|
}
|