fix: flaky tests (#1701)

This commit is contained in:
Ludovic Fernandez 2022-08-22 21:31:06 +02:00 committed by GitHub
parent 409b3c9959
commit c45b756237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,8 +263,8 @@ func TestChallengeHTTP_Client_Registration_QueryRegistration(t *testing.T) {
require.NotNil(t, resource) require.NotNil(t, resource)
assert.Equal(t, "valid", resource.Body.Status) assert.Equal(t, "valid", resource.Body.Status)
assert.Regexp(t, `https://localhost:14000/list-orderz/\d+`, resource.Body.Orders) assert.Regexp(t, `https://localhost:14000/list-orderz/[\w\d]+`, resource.Body.Orders)
assert.Regexp(t, `https://localhost:14000/my-account/\d+`, resource.URI) assert.Regexp(t, `https://localhost:14000/my-account/[\w\d]+`, resource.URI)
} }
func TestChallengeTLS_Client_Obtain(t *testing.T) { func TestChallengeTLS_Client_Obtain(t *testing.T) {