From 0917d82340763417a4a002e8f5b8794fe6ff902b Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Mon, 25 Oct 2021 12:29:11 +0200 Subject: [PATCH] fix auth_service tests --- pkg/apiclient/auth_service_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apiclient/auth_service_test.go b/pkg/apiclient/auth_service_test.go index 81818eb51..460d662a1 100644 --- a/pkg/apiclient/auth_service_test.go +++ b/pkg/apiclient/auth_service_test.go @@ -192,7 +192,7 @@ func TestWatcherEnroll(t *testing.T) { _, _ = buf.ReadFrom(r.Body) newStr := buf.String() log.Debugf("body -> %s", newStr) - if newStr == `{"attachment_key":"goodkey"} + if newStr == `{"attachment_key":"goodkey","name":"","tags":[]} ` { log.Print("good key") w.WriteHeader(http.StatusOK)