From c5b70d8d94bda20fb8834782ccdb1dbdfb85b052 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 15 Mar 2022 22:01:10 +0100 Subject: bug: don't serialize multiple time the author, only once in OperationPack --- bug/op_create_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bug/op_create_test.go') diff --git a/bug/op_create_test.go b/bug/op_create_test.go index 25b87cfe..7696d065 100644 --- a/bug/op_create_test.go +++ b/bug/op_create_test.go @@ -76,8 +76,7 @@ func TestCreateSerialize(t *testing.T) { // enforce creating the ID before.Id() - // Replace the identity stub with the real thing - require.Equal(t, rene.Id(), after.Author().Id()) + // Replace the identity as it's not serialized after.Author_ = rene require.Equal(t, before, &after) -- cgit