diff --git a/modules/cabana/mail_brand_layout_postgres_test.go b/modules/cabana/mail_brand_layout_postgres_test.go new file mode 100644 index 00000000..32225768 --- /dev/null +++ b/modules/cabana/mail_brand_layout_postgres_test.go @@ -0,0 +1,215 @@ +package cabana_test + +import ( + "fmt" + "net/http" + "regexp" + "strings" + "testing" + + "git.golem15.com/golem15/summercms/modules/cabana" + "git.golem15.com/golem15/summercms/modules/postcard" +) + +const mailBrandPath = "/settings/mail_brand" + +// headerSpan is the site name in the built-in header partial's cell. +var headerSpan = regexp.MustCompile(`