fixed doc env vars + mongo v2 migration
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
rd "github.com/tech/sendico/pkg/db/repository/decoder"
|
||||
"github.com/tech/sendico/pkg/db/storable"
|
||||
"github.com/tech/sendico/pkg/merrors"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -40,7 +40,7 @@ func TestRatesStoreUpsertInsert(t *testing.T) {
|
||||
|
||||
func TestRatesStoreUpsertUpdate(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
existingID := primitive.NewObjectID()
|
||||
existingID := bson.NewObjectID()
|
||||
var updated *model.RateSnapshot
|
||||
|
||||
repo := &repoStub{
|
||||
|
||||
Reference in New Issue
Block a user