aboutsummaryrefslogtreecommitdiffstats
path: root/identity/identity_stub_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'identity/identity_stub_test.go')
-rw-r--r--identity/identity_stub_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/identity/identity_stub_test.go b/identity/identity_stub_test.go
index 3d94cd3e..b01a718c 100644
--- a/identity/identity_stub_test.go
+++ b/identity/identity_stub_test.go
@@ -19,5 +19,8 @@ func TestIdentityStubSerialize(t *testing.T) {
err = json.Unmarshal(data, &after)
assert.NoError(t, err)
+ // enforce creating the Id
+ before.Id()
+
assert.Equal(t, before, &after)
}