diff options
-rw-r--r-- | commands/select/select_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |