MM-54275 : Add Giphy production key to LDFlags (#24397)

Этот коммит содержится в:
M-ZubairAhmed
2023-08-31 20:29:04 +05:30
коммит произвёл GitHub
родитель 2c6179a0a6
Коммит 66e5d5fffa
4 изменённых файлов: 33 добавлений и 9 удалений

Просмотреть файл

@@ -293,6 +293,19 @@ func TestGetClientConfig(t *testing.T) {
"EnableJoinLeaveMessageByDefault": "false",
},
},
{
"test key for GiphySdkKey",
&model.Config{
ServiceSettings: model.ServiceSettings{
GiphySdkKey: model.NewString(""),
},
},
"",
nil,
map[string]string{
"GiphySdkKey": model.ServiceSettingsDefaultGiphySdkKeyTest,
},
},
}
for _, testCase := range testCases {