summaryrefslogtreecommitdiffstats
path: root/model/license_test.go
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2018-06-02 06:33:59 +0800
committerGitHub <noreply@github.com>2018-06-02 06:33:59 +0800
commit312edbe5315e97dc25857fc2590266734056af70 (patch)
tree4dc477389e10aa2078651c99bd1e7597276c0e2a /model/license_test.go
parentebdceb8e529810cd89599b8fbfda0157a659f3b5 (diff)
downloadchat-312edbe5315e97dc25857fc2590266734056af70.tar.gz
chat-312edbe5315e97dc25857fc2590266734056af70.tar.bz2
chat-312edbe5315e97dc25857fc2590266734056af70.zip
[MM-10718] Move custom branding to TE (#8871)
* move custom branding to TE * move brand's enterprise code to server and remove BrandInterface
Diffstat (limited to 'model/license_test.go')
-rw-r--r--model/license_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/model/license_test.go b/model/license_test.go
index a9379d78e..b45473432 100644
--- a/model/license_test.go
+++ b/model/license_test.go
@@ -21,7 +21,6 @@ func TestLicenseFeaturesToMap(t *testing.T) {
CheckTrue(t, m["compliance"].(bool))
CheckTrue(t, m["cluster"].(bool))
CheckTrue(t, m["metrics"].(bool))
- CheckTrue(t, m["custom_brand"].(bool))
CheckTrue(t, m["mhpns"].(bool))
CheckTrue(t, m["saml"].(bool))
CheckTrue(t, m["elastic_search"].(bool))
@@ -44,7 +43,6 @@ func TestLicenseFeaturesSetDefaults(t *testing.T) {
CheckTrue(t, *f.Compliance)
CheckTrue(t, *f.Cluster)
CheckTrue(t, *f.Metrics)
- CheckTrue(t, *f.CustomBrand)
CheckTrue(t, *f.MHPNS)
CheckTrue(t, *f.SAML)
CheckTrue(t, *f.Elasticsearch)
@@ -66,7 +64,6 @@ func TestLicenseFeaturesSetDefaults(t *testing.T) {
*f.Compliance = true
*f.Cluster = true
*f.Metrics = true
- *f.CustomBrand = true
*f.MHPNS = true
*f.SAML = true
*f.Elasticsearch = true
@@ -85,7 +82,6 @@ func TestLicenseFeaturesSetDefaults(t *testing.T) {
CheckTrue(t, *f.Compliance)
CheckTrue(t, *f.Cluster)
CheckTrue(t, *f.Metrics)
- CheckTrue(t, *f.CustomBrand)
CheckTrue(t, *f.MHPNS)
CheckTrue(t, *f.SAML)
CheckTrue(t, *f.Elasticsearch)
@@ -169,7 +165,6 @@ func TestLicenseToFromJson(t *testing.T) {
CheckBool(t, *f1.Compliance, *f.Compliance)
CheckBool(t, *f1.Cluster, *f.Cluster)
CheckBool(t, *f1.Metrics, *f.Metrics)
- CheckBool(t, *f1.CustomBrand, *f.CustomBrand)
CheckBool(t, *f1.MHPNS, *f.MHPNS)
CheckBool(t, *f1.SAML, *f.SAML)
CheckBool(t, *f1.Elasticsearch, *f.Elasticsearch)