diff options
author | Maxim Slipenko <maxim@slipenko.com> | 2024-12-21 22:44:05 +0100 |
---|---|---|
committer | Maxim Slipenko <maxim@slipenko.com> | 2024-12-21 22:44:05 +0100 |
commit | 4f92b738b50da841a757c42bb34c565cde417615 (patch) | |
tree | 64ba603a6b99ccd508ea5fd15c33d5148071bb72 | |
parent | add integration tests for synchronization for SSH keys with OpenID Connect (diff) | |
download | forgejo-4f92b738b50da841a757c42bb34c565cde417615.tar.xz forgejo-4f92b738b50da841a757c42bb34c565cde417615.zip |
style: make fmt
-rw-r--r-- | tests/integration/oauth_test.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/integration/oauth_test.go b/tests/integration/oauth_test.go index 675573d6cb..6b5a1feb16 100644 --- a/tests/integration/oauth_test.go +++ b/tests/integration/oauth_test.go @@ -735,13 +735,13 @@ func TestSignInOauthCallbackSyncSSHKeys(t *testing.T) { for _, tt := range []struct { name string - rawData map[string]interface{} + rawData map[string]any parsedKeySets []string }{ { name: "Add keys", - rawData: map[string]interface{}{ - "sshpubkey": []interface{}{ + rawData: map[string]any{ + "sshpubkey": []any{ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINDRDoephkaFELacrNNe2fqAwedhRB1MKOpLEHlPuczO nocomment", }, }, @@ -751,8 +751,8 @@ func TestSignInOauthCallbackSyncSSHKeys(t *testing.T) { }, { name: "Update keys", - rawData: map[string]interface{}{ - "sshpubkey": []interface{}{ + rawData: map[string]any{ + "sshpubkey": []any{ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMLLMOLFMouSJmzOASKKv178d+7op4utSxcugF9tVVch nocomment", "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGyDh9sg1IGQGa0U363wcGXrDlGBhZI3UHvS7we/0d+T nocomment", }, @@ -764,8 +764,8 @@ func TestSignInOauthCallbackSyncSSHKeys(t *testing.T) { }, { name: "Remove keys", - rawData: map[string]interface{}{ - "sshpubkey": []interface{}{}, + rawData: map[string]any{ + "sshpubkey": []any{}, }, parsedKeySets: []string{}, }, |