File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1008,6 +1008,14 @@ func TestNotificationTemplates_Golden(t *testing.T) {
1008
1008
db := api .Database
1009
1009
firstUser := coderdtest .CreateFirstUser (t , adminClient )
1010
1010
1011
+ if tc .appName != "" || tc .logoURL != "" {
1012
+ err = adminClient .UpdateAppearance (context .Background (), codersdk.UpdateAppearanceConfig {
1013
+ ApplicationName : tc .appName ,
1014
+ LogoURL : tc .logoURL ,
1015
+ })
1016
+ require .NoError (t , err )
1017
+ }
1018
+
1011
1019
_ , user := coderdtest .CreateAnotherUserMutators (
1012
1020
t ,
1013
1021
adminClient ,
@@ -1098,6 +1106,9 @@ func TestNotificationTemplates_Golden(t *testing.T) {
1098
1106
)
1099
1107
require .NoError (t , err )
1100
1108
1109
+ // we apply ApplicationName and LogoURL changes directly in the db
1110
+ // as appearance changes are enterprise features and we do not want to mix those
1111
+ // can't use the api
1101
1112
if tc .appName != "" {
1102
1113
err = (* db ).UpsertApplicationName (ctx , "Custom Application" )
1103
1114
require .NoError (t , err )
You can’t perform that action at this time.
0 commit comments