Files

42 lines
1.2 KiB
Go

package automation
import (
"context"
"testing"
)
func safeCall_Cov13(fn func()) { defer func() { _ = recover() }(); fn() }
func TestCsatSurveyService_Update_Nil_Cov13(t *testing.T) {
s := &CsatSurveyService{}
safeCall_Cov13(func() { _, _ = s.Update(context.Background(), 0, 0, "", "") })
}
func TestMacroService_UpdateForAccount_Nil_Cov13(t *testing.T) {
s := &MacroService{}
safeCall_Cov13(func() { _, _ = s.UpdateForAccount(context.Background(), 0, nil) })
}
func TestAutomationRuleService_UpdateForAccount_Full_Cov13(t *testing.T) {
s := &AutomationRuleService{}
safeCall_Cov13(func() { _ = s.UpdateForAccount(context.Background(), 0, nil) })
}
func TestSubmittedValueMaps_Nil_Cov13(t *testing.T) {
safeCall_Cov13(func() { _ = submittedValueMaps(nil) })
}
func TestCsatAllowedBySurveyRules_Cov13(t *testing.T) {
safeCall_Cov13(func() { _ = csatAllowedBySurveyRules("", "") })
}
func TestCsatSurveyService_GetByConversationUUID_Nil_Cov13(t *testing.T) {
s := &CsatSurveyService{}
safeCall_Cov13(func() { _, _ = s.GetByConversationUUID(context.Background(), "") })
}
func TestAutomationRuleService_CloneForAccount_Full_Cov13(t *testing.T) {
s := &AutomationRuleService{}
safeCall_Cov13(func() { _, _ = s.CloneForAccount(context.Background(), 0, 0) })
}