File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import (
15
15
16
16
"github.com/coder/coder/v2/coderd/database"
17
17
"github.com/coder/coder/v2/coderd/database/dbgen"
18
- "github.com/coder/coder/v2/coderd/database/dbmem"
19
18
"github.com/coder/coder/v2/coderd/database/dbrollup"
20
19
"github.com/coder/coder/v2/coderd/database/dbtestutil"
21
20
"github.com/coder/coder/v2/coderd/database/dbtime"
@@ -28,7 +27,8 @@ func TestMain(m *testing.M) {
28
27
29
28
func TestRollup_Close (t * testing.T ) {
30
29
t .Parallel ()
31
- rolluper := dbrollup .New (testutil .Logger (t ), dbmem .New (), dbrollup .WithInterval (250 * time .Millisecond ))
30
+ db , _ := dbtestutil .NewDB (t )
31
+ rolluper := dbrollup .New (testutil .Logger (t ), db , dbrollup .WithInterval (250 * time .Millisecond ))
32
32
err := rolluper .Close ()
33
33
require .NoError (t , err )
34
34
}
You can’t perform that action at this time.
0 commit comments