package automation

import (
	"context"
	"testing"
)

func TestProtectedFlowCatalogFailsClosedWithoutDB(t *testing.T) {
	if _, err := NewProtectedFlowCatalog(nil).ProtectedFlowNames(context.Background()); err == nil {
		t.Fatal("ProtectedFlowNames() error = nil, want fail-closed database error")
	}
}
