Merge pull request #6900 from adullact/fix/6858-universign-api-url

Correction d'un test qui échouait si la variable d'environnement `UNIVERSIGN_API_URL` était définie sans valeur
This commit is contained in:
Pierre de La Morinerie 2022-02-08 16:03:42 +01:00 committed by GitHub
commit ad7600a7e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,10 @@ describe Universign::API do
let(:digest) { Digest::SHA256.hexdigest("CECI EST UN HASH") }
before do
stub_const("UNIVERSIGN_API_URL", "https://ws.universign.eu/tsa/post/")
end
it { is_expected.not_to be_nil }
end
end