mirror of
https://github.com/go-acme/lego.git
synced 2024-11-29 09:52:07 +02:00
Fix tests with new error
This commit is contained in:
parent
f08c15df80
commit
c2467d031f
@ -161,7 +161,7 @@ func TestHTTPInvalidServerState(t *testing.T) {
|
||||
if err := solver.Solve(clientChallenge, "127.0.0.1"); err == nil {
|
||||
t.Error("UNEXPECTED: Expected Solve to return an error but the error was nil.")
|
||||
} else {
|
||||
expectedError := "The server could not validate our request."
|
||||
expectedError := "acme: Error 0 - - \nError Detail:\n"
|
||||
if err.Error() != expectedError {
|
||||
t.Errorf("Expected error |%s| but instead got |%s|", expectedError, err.Error())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user