mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-09 20:10:37 +00:00
13 lines
238 B
Go
13 lines
238 B
Go
package constant
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGetChannelBaseURLIsBoundsSafe(t *testing.T) {
|
|
assert.Empty(t, GetChannelBaseURL(ChannelTypeTaskPlugin))
|
|
assert.Empty(t, GetChannelBaseURL(9999))
|
|
}
|