diff options
Diffstat (limited to 'server/store')
-rw-r--r-- | server/store/store_test.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/server/store/store_test.go b/server/store/store_test.go index 47e0f74..e8bebaf 100644 --- a/server/store/store_test.go +++ b/server/store/store_test.go @@ -45,9 +45,11 @@ func testStore(t *testing.T, db CertStorer) { defer db.Close() r := &CertRecord{ - KeyID: "a", - CreatedAt: time.Now().UTC(), - Expires: time.Now().UTC().Add(1 * time.Minute), + KeyID: "a", + Principals: []string{"b"}, + CreatedAt: time.Now().UTC(), + Expires: time.Now().UTC().Add(1 * time.Minute), + Raw: "AAAAAA", } if err := db.SetRecord(r); err != nil { t.Error(err) |