From a74f9248cf328a373ff3ebf9223c61ccd73537a7 Mon Sep 17 00:00:00 2001 From: Michel Vocks Date: Fri, 24 Jan 2020 09:00:59 +0100 Subject: [PATCH] goimport --- builtin/logical/database/rotation_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/builtin/logical/database/rotation_test.go b/builtin/logical/database/rotation_test.go index 684d89261093..6283403452d2 100644 --- a/builtin/logical/database/rotation_test.go +++ b/builtin/logical/database/rotation_test.go @@ -2,8 +2,6 @@ package database import ( "context" - "go.mongodb.org/mongo-driver/mongo" - "go.mongodb.org/mongo-driver/mongo/options" "log" "strings" "testing" @@ -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 ( @@ -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