mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
feat(plugins): fixed failing api test
This commit is contained in:
parent
7f970bbc7b
commit
bd2e1ef67e
@ -22,8 +22,8 @@ func TestPluginProxy(t *testing.T) {
|
||||
|
||||
setting.SecretKey = "password"
|
||||
|
||||
bus.AddHandler("test", func(query *m.GetAppSettingByAppIdQuery) error {
|
||||
query.Result = &m.AppSettings{
|
||||
bus.AddHandler("test", func(query *m.GetPluginSettingByIdQuery) error {
|
||||
query.Result = &m.PluginSetting{
|
||||
SecureJsonData: map[string][]byte{
|
||||
"key": util.Encrypt([]byte("123"), "password"),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user