From bd5ec4b1085870429885e2ab322acfbdbc175985 Mon Sep 17 00:00:00 2001 From: Wout Slakhorst Date: Mon, 30 Oct 2023 11:44:23 +0100 Subject: [PATCH] test fix --- network/network_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/network_test.go b/network/network_test.go index 9bc73af825..751822a7ee 100644 --- a/network/network_test.go +++ b/network/network_test.go @@ -1247,7 +1247,7 @@ func TestNetwork_checkHealth(t *testing.T) { result := n.CheckHealth() assert.Equal(t, core.HealthStatusDown, result[healthTLS].Status) - assert.Equal(t, "x509: certificate signed by unknown authority", result[healthTLS].Details) + assert.Contains(t, result[healthTLS].Details, "x509: certificate has expired or is not yet valid") }) })