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:
Cursor Agent
2026-08-06 15:52:23 +00:00
parent 36a63ad192
commit 0f03c475ba
-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 {