From a1e656628436b96ed92c072b65872e8ae063eb05 Mon Sep 17 00:00:00 2001 From: bjb28 Date: Sat, 15 Jun 2019 00:06:54 -0400 Subject: [PATCH] Added FromEmail Test --- models/template_context_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/template_context_test.go b/models/template_context_test.go index 0b6ac4e1..25c21da7 100644 --- a/models/template_context_test.go +++ b/models/template_context_test.go @@ -39,6 +39,7 @@ func (s *ModelsSuite) TestNewTemplateContext(c *check.C) { TrackingURL: fmt.Sprintf("%s/track?rid=%s", ctx.URL, r.RId), From: "From Address", RId: r.RId, + FromEmail: "from@example.com", } expected.Tracker = "" got, err := NewPhishingTemplateContext(ctx, r.BaseRecipient, r.RId)