aboutsummaryrefslogtreecommitdiffstats
path: root/commands/select/select_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-06-16 21:40:45 +0200
committerMichael Muré <batolettre@gmail.com>2019-06-16 21:40:45 +0200
commitbc03a89aa76cad37daf8cd4efdea463a9569c519 (patch)
treede48b53cefb9006bfa5029a7da512a6abc21885b /commands/select/select_test.go
parentb2f8572c4493205535558fb9320689aaf4774dc1 (diff)
downloadgit-bug-bc03a89aa76cad37daf8cd4efdea463a9569c519.tar.gz
fix tests
Diffstat (limited to 'commands/select/select_test.go')
-rw-r--r--commands/select/select_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/select/select_test.go b/commands/select/select_test.go
index b9594fee..393ec88b 100644
--- a/commands/select/select_test.go
+++ b/commands/select/select_test.go
@@ -33,14 +33,14 @@ func TestSelect(t *testing.T) {
require.NoError(t, err)
for i := 0; i < 10; i++ {
- _, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil)
+ _, _, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil)
require.NoError(t, err)
}
// and two more for testing
- b1, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil)
+ b1, _, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil)
require.NoError(t, err)
- b2, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil)
+ b2, _, err := repoCache.NewBugRaw(rene, time.Now().Unix(), "title", "message", nil, nil)
require.NoError(t, err)
err = Select(repoCache, b1.Id())