🩹 fix tests

This commit is contained in:
Fenny
2020-10-31 11:35:31 +01:00
parent cc186961ee
commit ef04d509b9
6 changed files with 68 additions and 41 deletions

View File

@@ -12,7 +12,7 @@ import (
// Storage interface that is implemented by storage providers
type Storage struct {
DB *mongo.Database
db *mongo.Database
col *mongo.Collection
}
@@ -100,7 +100,7 @@ func New(config ...Config) *Storage {
}
return &Storage{
DB: db,
db: db,
col: col,
}
}