fix auth_service tests

This commit is contained in:
alteredCoder 2021-10-25 12:29:11 +02:00
parent 42f1802a9b
commit 0917d82340

View file

@ -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)