feat(plugins): fixed failing api test

pull/4169/head
Torkel Ödegaard 10 years ago
parent 7f970bbc7b
commit bd2e1ef67e
  1. 4
      pkg/api/pluginproxy/pluginproxy_test.go

@ -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…
Cancel
Save