Chore: use any rather than interface{} (#74066)

This commit is contained in:
Ryan McKinley
2023-08-30 18:46:47 +03:00
committed by GitHub
parent 3e272d2bda
commit 025b2f3011
525 changed files with 2528 additions and 2528 deletions
@@ -30,7 +30,7 @@ func TestService_DecryptedValuesCache(t *testing.T) {
ps := pluginsettings.DTO{
ID: 1,
JSONData: map[string]interface{}{},
JSONData: map[string]any{},
SecureJSONData: encryptedJsonData,
}
@@ -68,7 +68,7 @@ func TestService_DecryptedValuesCache(t *testing.T) {
ps := pluginsettings.DTO{
ID: 1,
JSONData: map[string]interface{}{},
JSONData: map[string]any{},
SecureJSONData: encryptedJsonData,
}
@@ -110,7 +110,7 @@ func TestIntegrationPluginSettings(t *testing.T) {
PluginId: "existing",
Enabled: false,
Pinned: false,
JsonData: map[string]interface{}{
JsonData: map[string]any{
"key": "value",
},
SecureJsonData: secureJsonData,
@@ -177,7 +177,7 @@ func TestIntegrationPluginSettings(t *testing.T) {
PluginID: existing.PluginId,
Enabled: true,
PluginVersion: "1.0.1",
JSONData: map[string]interface{}{
JSONData: map[string]any{
"key2": "value2",
},
SecureJSONData: map[string]string{
@@ -235,7 +235,7 @@ func TestIntegrationPluginSettings(t *testing.T) {
Enabled: true,
OrgID: 1,
PluginVersion: "1.0.0",
JSONData: map[string]interface{}{
JSONData: map[string]any{
"key": "value",
},
SecureJSONData: map[string]string{