From 0ca86c8a2c387173718e6ddfd4ade6eaaf161ced Mon Sep 17 00:00:00 2001 From: Jim Date: Wed, 6 Apr 2022 09:17:17 -0400 Subject: [PATCH] chore: remove unneeded ref to gorm.DB (#1971) --- internal/oplog/writer_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/oplog/writer_test.go b/internal/oplog/writer_test.go index ef67f86763..9c6c3eeb7d 100644 --- a/internal/oplog/writer_test.go +++ b/internal/oplog/writer_test.go @@ -10,7 +10,6 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" _ "gorm.io/driver/postgres" - "gorm.io/gorm" ) // Test_WriterCreate provides unit tests for Writer Create @@ -195,9 +194,6 @@ func Test_WriterDropTableIfExists(t *testing.T) { func TestWriter_Update(t *testing.T) { db := setup(t) id := testId(t) - type fields struct { - Tx *gorm.DB - } type args struct { user *oplog_test.TestUser fieldMaskPaths []string