Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
425 Bytes
package harness
import (
"github.com/target/goalert/devtools/mocktwilio"
)
type twilioAssertionSMS struct {
*twilioAssertionDevice
*mocktwilio.SMS
}
var _ ExpectedSMS = &twilioAssertionSMS{}
func (sms *twilioAssertionSMS) ThenReply(body string) SMSReply {
err := sms.Server.SendSMS(sms.To(), sms.From(), body)
if err != nil {
sms.t.Fatalf("send SMS: from %s: %v", sms.formatNumber(sms.To()), err)
}
return sms
}