diff options
author | Michael Muré <batolettre@gmail.com> | 2020-11-08 17:54:28 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-02-14 12:15:41 +0100 |
commit | fb0c5fd06184f33a03d8d4fb29a3aef8b1dafe78 (patch) | |
tree | a0d87d04a991368840645591f11284b7ea27160c /identity | |
parent | 44d7587940f842a343a64d9107601591bdfb1027 (diff) | |
download | git-bug-fb0c5fd06184f33a03d8d4fb29a3aef8b1dafe78.tar.gz |
repo: expose all lamport clocks, move clocks in their own folder
Diffstat (limited to 'identity')
-rw-r--r-- | identity/identity_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/identity/identity_test.go b/identity/identity_test.go index 82e58b01..dc5925d9 100644 --- a/identity/identity_test.go +++ b/identity/identity_test.go @@ -12,7 +12,7 @@ import ( // Test the commit and load of an Identity with multiple versions func TestIdentityCommitLoad(t *testing.T) { - mockRepo := repository.NewMockRepoForTest() + mockRepo := repository.NewMockRepo() // single version @@ -193,7 +193,7 @@ func TestIdentity_ValidKeysAtTime(t *testing.T) { // Test the immutable or mutable metadata search func TestMetadata(t *testing.T) { - mockRepo := repository.NewMockRepoForTest() + mockRepo := repository.NewMockRepo() identity := NewIdentity("René Descartes", "rene.descartes@example.com") @@ -235,7 +235,7 @@ func assertHasKeyValue(t *testing.T, metadata map[string]string, key, value stri } func TestJSON(t *testing.T) { - mockRepo := repository.NewMockRepoForTest() + mockRepo := repository.NewMockRepo() identity := &Identity{ id: entity.UnsetId, |