diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-17 17:59:54 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:40:25 +0100 |
commit | 976af3a4e8382d03e9f2ccb57e2ed3b783294138 (patch) | |
tree | 7f1b9d9ac2771d5b72cc3c3c228317fd88b50499 /commands/select/select_test.go | |
parent | 864eae0d6bd0732260c0c56583bb77f9b25b60f6 (diff) | |
download | git-bug-976af3a4e8382d03e9f2ccb57e2ed3b783294138.tar.gz |
identity: fix tests
Diffstat (limited to 'commands/select/select_test.go')
-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) |