From 478c4bf2ab014121ffed4b31c72611d222ebb6cf Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Nov 2021 19:06:26 +0000 Subject: [PATCH] fix test --- src/utils_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_test.go b/src/utils_test.go index f74721e..655d669 100644 --- a/src/utils_test.go +++ b/src/utils_test.go @@ -119,7 +119,7 @@ func TestUtilNotifyConsentChange(t *testing.T) { defer req.Body.Close() bodyBytes, _ := ioutil.ReadAll(req.Body) fmt.Printf("body: %s\n", string(bodyBytes)) - if string(bodyBytes) != `{"action":"consentchange","identity":"user3@user3.com","brief":"brief","mode":"email","status":"no"}` { + if string(bodyBytes) != `{"action":"consentchange","brief":"brief","identity":"user3@user3.com","mode":"email","status":"no"}` { q <- fmt.Sprintf("bad request in notifyConsentChange: %s", string(bodyBytes)) } else { q <- "ok"