aboutsummaryrefslogtreecommitdiffstats
path: root/identity/identity_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'identity/identity_test.go')
-rw-r--r--identity/identity_test.go6
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,