diff --git a/vault/keyring_test.go b/vault/keyring_test.go index 5ac782537..60e3925ac 100644 --- a/vault/keyring_test.go +++ b/vault/keyring_test.go @@ -200,6 +200,7 @@ func TestKey_Serialize(t *testing.T) { if !k.InstallTime.Equal(out.InstallTime) { t.Fatalf("bad: expected:\n%#v\nactual:\n%#v", k, out) } + k.InstallTime = out.InstallTime if !reflect.DeepEqual(k, out) { t.Fatalf("bad: %#v", out)