Skip to content

Commit 616e695

Browse files
committed
feat: add unsupported test case for kling channel
1 parent b7c7777 commit 616e695

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

controller/channel-test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ func testChannel(channel *model.Channel, testModel string) (err error, openAIErr
4040
if channel.Type == common.ChannelTypeSunoAPI {
4141
return errors.New("suno channel test is not supported"), nil
4242
}
43+
if channel.Type == common.ChannelTypeKling {
44+
return errors.New("kling channel test is not supported"), nil
45+
}
4346
w := httptest.NewRecorder()
4447
c, _ := gin.CreateTestContext(w)
4548

0 commit comments

Comments
 (0)