Commit 6be03088 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix_expired_gpg_key_specs' into 'master'

Fix broken specs : Generate new GPG key in place of expired one

Closes #32956

See merge request gitlab-org/gitlab!17853
parents 51eae761 febcc44b
......@@ -202,7 +202,7 @@ describe Gitlab::Gpg::Commit do
end
let(:gpg_key_subkey) do
gpg_key.subkeys.find_by(fingerprint: '0522DD29B98F167CD8421752E38FFCAF75ABD92A')
gpg_key.subkeys.find_by(fingerprint: GpgHelpers::User3.subkey_fingerprints.last)
end
before do
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment