您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

16 行
393 B

  1. package relay
  2. import (
  3. "strconv"
  4. "testing"
  5. "github.com/QuantumNous/new-api/constant"
  6. "github.com/stretchr/testify/require"
  7. )
  8. func TestGetTaskAdaptorChinaMobileSeedance(t *testing.T) {
  9. adaptor := GetTaskAdaptor(constant.TaskPlatform(strconv.Itoa(constant.ChannelTypeChinaMobileSeedance)))
  10. require.NotNil(t, adaptor)
  11. require.Equal(t, "ChinaMobileSeedance", adaptor.GetChannelName())
  12. }