fix integration test

(partial cherry pick of 492f1826ee)
This commit is contained in:
Livio Spring
2025-09-16 14:28:08 +02:00
parent 690686a8ea
commit 8c81a10f0a
3 changed files with 43 additions and 26 deletions

View File

@@ -86,7 +86,7 @@ func TestServer_Keys(t *testing.T) {
err = json.NewDecoder(resp.Body).Decode(got)
require.NoError(ttt, err)
assert.Len(t, got.Keys, tt.wantLen)
assert.Len(ttt, got.Keys, tt.wantLen)
for _, key := range got.Keys {
_, ok := key.Key.(*rsa.PublicKey)
require.True(ttt, ok)