feat: add unsupported test case for kling channel

This commit is contained in:
skynono 2025-06-17 15:35:40 +08:00
parent aaf7c88e0b
commit 5d9cf11466

View File

@ -40,6 +40,9 @@ func testChannel(channel *model.Channel, testModel string) (err error, openAIErr
if channel.Type == common.ChannelTypeSunoAPI {
return errors.New("suno channel test is not supported"), nil
}
if channel.Type == common.ChannelTypeKling {
return errors.New("kling channel test is not supported"), nil
}
w := httptest.NewRecorder()
c, _ := gin.CreateTestContext(w)