remove nats message encode

This commit is contained in:
Joel Wetzell
2026-03-01 13:03:26 -06:00
parent 87fcc63068
commit bcf9299505
3 changed files with 0 additions and 74 deletions

View File

@@ -1,27 +0,0 @@
package processor_test
import (
"testing"
"github.com/jwetzell/showbridge-go/internal/config"
"github.com/jwetzell/showbridge-go/internal/processor"
)
func TestNATSMessageEncodeFromRegistry(t *testing.T) {
registration, ok := processor.ProcessorRegistry["nats.message.encode"]
if !ok {
t.Fatalf("nats.message.encode processor not registered")
}
processorInstance, err := registration.New(config.ProcessorConfig{
Type: "nats.message.encode",
})
if err != nil {
t.Fatalf("failed to create nats.message.encode processor: %s", err)
}
if processorInstance.Type() != "nats.message.encode" {
t.Fatalf("nats.message.encode processor has wrong type: %s", processorInstance.Type())
}
}