package hostbox import ( "context" "errors" "testing" "time" "github.com/carlosframework/platform/internal/park" ) func TestRegionalMissingAuthorityNeverRuns(t *testing.T) { r := Regional{} if err := r.Run(context.Background(), park.Work{Host: "shop.example", ID: "id", Op: "op"}); !errors.Is(err, ErrUnsupported) { t.Fatal(err) } if _, err := r.Sweep(context.Background(), "shop.example", "", time.Now(), time.Second); !errors.Is(err, ErrUnsupported) { t.Fatal(err) } }