19 lines
454 B
Go
19 lines
454 B
Go
package submitcaptcha
|
|
|
|
import (
|
|
"context"
|
|
"likedream-goframe/internal/application/cpdaily/types"
|
|
"likedream-goframe/internal/testutil"
|
|
"testing"
|
|
)
|
|
|
|
func TestRuoliSubmitCaptchaResolver_GetCaptchaTicket(t *testing.T) {
|
|
loginClient, detail := testutil.LoginTestUser()
|
|
|
|
resolver := NewNormalResolver(loginClient, detail.WecloudUrl, "abcdefg", types.TaskTypeSleepCheck)
|
|
|
|
info := resolver.GetValidationInfo(context.Background())
|
|
|
|
t.Logf("%#v", info)
|
|
}
|