PLT-5900 Removed automatic configuration of SiteURL (#5952)
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)"
This reverts commit a8e68bd890.
* Removed automatic configuration of SiteURL
* Reverted unintentional config changes
* Updated help text
* Added link to docs in Site URL warning
* Fixed merge conflict
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
3a79e451ff
Коммит
c7bdce8a66
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user