From d50ea5f994ac67226fe886b34e62a9a13ff02088 Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Tue, 26 Oct 2021 15:09:09 +0200 Subject: [PATCH] fix test --- 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 379769c3b..4e4485c28 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","name":"","tags":[]} + if newStr == `{"attachment_key":"goodkey"} ` { log.Print("good key") w.WriteHeader(http.StatusOK)