Impl delete find filters for boltdb
This commit is contained in:
@@ -20,11 +20,10 @@ func TestIntegration(t *testing.T) {
|
||||
|
||||
os.Args = os.Args[:1]
|
||||
graph := NewGraph()
|
||||
graph.mongo.db = "db"
|
||||
ctx, can := context.WithCancel(context.TODO())
|
||||
defer can()
|
||||
clean := func() {
|
||||
graph.mongo.client.Database(graph.mongo.db).Collection("col").DeleteMany(ctx, map[string]interface{}{})
|
||||
graph.driver.Delete(context.TODO(), "col", map[string]string{})
|
||||
}
|
||||
clean()
|
||||
defer clean()
|
||||
|
||||
Reference in New Issue
Block a user