diff --git a/account.go b/account.go index 8633f92f..1cc67234 100644 --- a/account.go +++ b/account.go @@ -405,10 +405,6 @@ var ( discoveredEmailMu sync.Mutex ) -// agreementTestURL is set during tests to skip requiring -// setting up an entire ACME CA endpoint. -var agreementTestURL string - // stdin is used to read the user's input if prompted; // this is changed by tests during tests. var stdin = io.ReadWriter(os.Stdin) diff --git a/account_test.go b/account_test.go index 5b8ec3c7..2689da09 100644 --- a/account_test.go +++ b/account_test.go @@ -258,3 +258,7 @@ func TestGetEmailFromRecent(t *testing.T) { t.Errorf("Did not get correct email from storage; expected '%s' but got '%s'", "test4-3@foo.com", am.Email) } } + +// agreementTestURL is set during tests to skip requiring +// setting up an entire ACME CA endpoint. +var agreementTestURL string