Encryption: Fix tests

This commit is contained in:
Emil Tullstedt
2020-10-15 14:27:31 +02:00
parent 92c1b1e4c6
commit 3c152dc5bd
6 changed files with 50 additions and 38 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func TestPluginProxy(t *testing.T) {
setting.SecretKey = "password"
bus.AddHandler("test", func(query *models.GetPluginSettingByIdQuery) error {
key, err := util.Encrypt([]byte("123"), "password")
key, err := util.Encrypt([]byte("123"))
if err != nil {
return err
}