aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_noop_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-11-08 19:15:06 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:17:44 +0100
commit7163b2283b4542a4d4abfe9a71963f122322bde7 (patch)
tree93a52a65c5ba1fd3e4112b2aa53c2c438bb5400c /bug/op_noop_test.go
parent5ae8a132772385c903a62de2ceec02a97f108a01 (diff)
downloadgit-bug-7163b2283b4542a4d4abfe9a71963f122322bde7.tar.gz
bug: Id from first operation data, not git + remove root link
Diffstat (limited to 'bug/op_noop_test.go')
-rw-r--r--bug/op_noop_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/op_noop_test.go b/bug/op_noop_test.go
index 812851ea..ce2f98af 100644
--- a/bug/op_noop_test.go
+++ b/bug/op_noop_test.go
@@ -15,8 +15,8 @@ import (
func TestNoopSerialize(t *testing.T) {
repo := repository.NewMockRepo()
- rene := identity.NewIdentity("René Descartes", "rene@descartes.fr")
- err := rene.Commit(repo)
+
+ rene, err := identity.NewIdentity(repo, "René Descartes", "rene@descartes.fr")
require.NoError(t, err)
unix := time.Now().Unix()