From c7bdce8a6641ed8d361a43b6004a351535c78423 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 4 Apr 2017 11:54:52 -0400 Subject: PLT-5900 Removed automatic configuration of SiteURL (#5952) * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict --- api/context_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'api/context_test.go') diff --git a/api/context_test.go b/api/context_test.go index cd6ca01aa..cd4d058cf 100644 --- a/api/context_test.go +++ b/api/context_test.go @@ -7,7 +7,7 @@ import ( "testing" ) -func TestSiteURL(t *testing.T) { +func TestSiteURLHeader(t *testing.T) { c := &Context{} testCases := []struct { @@ -19,10 +19,10 @@ func TestSiteURL(t *testing.T) { } for _, tc := range testCases { - c.SetSiteURL(tc.url) + c.SetSiteURLHeader(tc.url) - if c.siteURL != tc.want { - t.Fatalf("expected %s, got %s", tc.want, c.siteURL) + if c.siteURLHeader != tc.want { + t.Fatalf("expected %s, got %s", tc.want, c.siteURLHeader) } } -- cgit v1.2.3-1-g7c22