From 54d0a97815ce99ebd48271c6c2eaab1e96cd8527 Mon Sep 17 00:00:00 2001 From: Yuli Date: Fri, 21 Feb 2020 09:51:40 +0200 Subject: [PATCH] fix warning --- src/sharedrecords_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sharedrecords_test.go b/src/sharedrecords_test.go index 779d155..a05817f 100644 --- a/src/sharedrecords_test.go +++ b/src/sharedrecords_test.go @@ -71,7 +71,7 @@ func TestCreateSharedRecordFakeUser(t *testing.T) { func TestCreateSharedRecordBadInput(t *testing.T) { userTOKEN, _ := uuid.GenerateUUID() - data := `{"expiration":"1d","fields":"uuid,name","app":"ju!nk"}` + data := `{"expiration":"1d","fields":"name","app":"ju!nk"}` raw, _ := helpCreateSharedRecord("token", userTOKEN, "a=b") if _, ok := raw["status"]; ok && raw["status"].(string) == "ok" { t.Fatalf("Should failed to create shared record for fake user")