1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

Fixed failing (broken) test

This commit is contained in:
Sebastian Gomez 2022-01-25 08:13:44 -05:00
parent d607eb60df
commit e552142b97

View file

@ -410,7 +410,7 @@ func TestGetSecretWithTwoApiEndpoints(t *testing.T) {
data, err = secretsClient2.GetSecret(ctx, getRemoteDef(secretID1, k1, ""))
tassert.Nil(t, data)
tassert.EqualError(t, err, errSecretPayloadNotFound)
data, err = secretsClient2.GetSecret(ctx, getRemoteDef(secretID1, k2, ""))
data, err = secretsClient2.GetSecret(ctx, getRemoteDef(secretID2, k2, ""))
tassert.Equal(t, v2, string(data))
tassert.Nil(t, err)
}