We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa2387 commit 3f6cf08Copy full SHA for 3f6cf08
pkg/gofr/datasource/sql/db_test.go
@@ -22,7 +22,7 @@ func getDB(t *testing.T) (*DB, sqlmock.Sqlmock) {
22
t.Fatalf("an error '%s' was not expected when opening a stub database connection", err)
23
}
24
25
- return &DB{mockDB, nil}, mock
+ return &DB{mockDB, testutil.NewMockLogger(testutil.INFOLOG)}, mock
26
27
28
func TestDB_SelectSingleColumnFromIntToString(t *testing.T) {
0 commit comments