Skip to content

Commit

Permalink
goimport
Browse files Browse the repository at this point in the history
  • Loading branch information
michelvocks committed Jan 24, 2020
1 parent 5d9fe4a commit a74f924
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions builtin/logical/database/rotation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package database

import (
"context"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
"log"
"strings"
"testing"
Expand All @@ -16,8 +14,9 @@ import (
"github.com/hashicorp/vault/sdk/framework"
"github.com/hashicorp/vault/sdk/helper/dbtxn"
"github.com/hashicorp/vault/sdk/logical"

"github.com/lib/pq"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
)

const (
Expand Down Expand Up @@ -848,7 +847,7 @@ func TestBackend_StaticRole_Rotations_MongoDB(t *testing.T) {
testCases := []string{"65", "130", "5400"}
// Create database users ahead
for _, tc := range testCases {
testCreateDBUser(t, connURL, "vaulttestdb", "statictestMongo" + tc, "test")
testCreateDBUser(t, connURL, "vaulttestdb", "statictestMongo"+tc, "test")
}

// Configure a connection
Expand Down

0 comments on commit a74f924

Please sign in to comment.