chore: remove unneeded ref to gorm.DB (#1971)
This commit is contained in:
1 file changed
-4
@@ -10,7 +10,6 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
_ "gorm.io/driver/postgres"
|
_ "gorm.io/driver/postgres"
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Test_WriterCreate provides unit tests for Writer Create
|
// Test_WriterCreate provides unit tests for Writer Create
|
||||||
@@ -195,9 +194,6 @@ func Test_WriterDropTableIfExists(t *testing.T) {
|
|||||||
func TestWriter_Update(t *testing.T) {
|
func TestWriter_Update(t *testing.T) {
|
||||||
db := setup(t)
|
db := setup(t)
|
||||||
id := testId(t)
|
id := testId(t)
|
||||||
type fields struct {
|
|
||||||
Tx *gorm.DB
|
|
||||||
}
|
|
||||||
type args struct {
|
type args struct {
|
||||||
user *oplog_test.TestUser
|
user *oplog_test.TestUser
|
||||||
fieldMaskPaths []string
|
fieldMaskPaths []string
|
||||||
|
|||||||
Reference in new issue
Block a user