Address PR feedback: remove unnecessary SAML color removal test case

Per reviewer feedback, drop the GenerateClientConfig test case that
asserted the removed SAML login button color props are absent. There is
no value in perpetually testing that a deleted feature stays deleted.
This commit is contained in:
2026-08-06 15:52:23 +00:00
parent f0c02c1925
commit 29d3bc578c
-20
View File
@@ -849,26 +849,6 @@ func TestGetClientConfig(t *testing.T) {
},
nil,
},
{
"SAML login button text exposed with license, button colors removed",
&model.Config{
SamlSettings: model.SamlSettings{
Enable: new(true),
LoginButtonText: new("With SAML"),
},
},
"",
&model.License{
Features: &model.Features{
SAML: new(true),
},
},
map[string]string{
"EnableSaml": "true",
"SamlLoginButtonText": "With SAML",
},
[]string{"SamlLoginButtonColor", "SamlLoginButtonBorderColor", "SamlLoginButtonTextColor"},
},
}
for _, testCase := range testCases {