From ca10d65c7f2a9bf7860cab1c0599ece6c2c2c134 Mon Sep 17 00:00:00 2001 From: xuans Date: Mon, 31 Aug 2026 02:31:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=88=9D=E5=A7=8B=E5=8C=96DN?= =?UTF-8?q?S=E9=94=99=E8=AF=AF=E8=84=B1=E6=95=8F=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/httpapi/setup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/httpapi/setup_test.go b/backend/internal/httpapi/setup_test.go index 88ce9af..55936c1 100644 --- a/backend/internal/httpapi/setup_test.go +++ b/backend/internal/httpapi/setup_test.go @@ -355,7 +355,7 @@ func TestSetupApplyRejectsUnverifiedDNSConfiguration(t *testing.T) { request.Header.Set("Content-Type", "application/json") response := httptest.NewRecorder() server.Handler().ServeHTTP(response, request) - if response.Code != http.StatusBadRequest || !strings.Contains(response.Body.String(), "DNS 验证令牌") { + if response.Code != http.StatusBadRequest || !strings.Contains(response.Body.String(), "DNS 验证状态无效") { t.Fatalf("未验证 DNS 配置应被拒绝:%d %s", response.Code, response.Body.String()) } }