diff options
Diffstat (limited to 'model/outgoing_webhook_test.go')
-rw-r--r-- | model/outgoing_webhook_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/model/outgoing_webhook_test.go b/model/outgoing_webhook_test.go index 2412271b5..49441cfea 100644 --- a/model/outgoing_webhook_test.go +++ b/model/outgoing_webhook_test.go @@ -179,8 +179,7 @@ func TestOutgoingWebhookTriggerWordStartsWith(t *testing.T) { func TestOutgoingWebhookResponseJson(t *testing.T) { o := OutgoingWebhookResponse{} - o.Text = new(string) - *o.Text = "some text" + o.Text = NewString("some text") json := o.ToJson() ro := OutgoingWebhookResponseFromJson(strings.NewReader(json)) |