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_label_change_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bug/op_label_change_test.go') diff --git a/bug/op_label_change_test.go b/bug/op_label_change_test.go index 40dc4f0d..1892724e 100644 --- a/bug/op_label_change_test.go +++ b/bug/op_label_change_test.go @@ -30,8 +30,7 @@ func TestLabelChangeSerialize(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