From 976af3a4e8382d03e9f2ccb57e2ed3b783294138 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 17 Feb 2019 17:59:54 +0100 Subject: identity: fix tests --- commands/select/select_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/select/select_test.go') diff --git a/commands/select/select_test.go b/commands/select/select_test.go index f26350f8..29fdb3b8 100644 --- a/commands/select/select_test.go +++ b/commands/select/select_test.go @@ -5,7 +5,6 @@ import ( "time" "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/identity" "github.com/MichaelMure/git-bug/util/test" "github.com/stretchr/testify/require" ) @@ -28,7 +27,8 @@ func TestSelect(t *testing.T) { // generate a bunch of bugs - rene := identity.NewBare("René Descartes", "rene@descartes.fr") + rene, err := repoCache.NewIdentity("René Descartes", "rene@descartes.fr") + require.NoError(t, err) for i := 0; i < 10; i++ { _, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil) -- cgit