diff --git a/tests/integration/sugar_unmarhall_result_set_test.go b/tests/integration/sugar_unmarhall_result_set_test.go index 253ee7e62..92afa8523 100644 --- a/tests/integration/sugar_unmarhall_result_set_test.go +++ b/tests/integration/sugar_unmarhall_result_set_test.go @@ -65,6 +65,7 @@ func TestSugarUnmarshallResultSet(t *testing.T) { SELECT 43 as id, "myStr43" as myStr, 123 as unexpected_column ORDER BY id `) + require.NoError(t, err) many, err := sugar.UnmarshallResultSet[myStruct](rows) require.ErrorIs(t, err, scanner.ErrFieldsNotFoundInStruct) diff --git a/tests/integration/table_tx_lazy_test.go b/tests/integration/table_tx_lazy_test.go index 70ece1867..1aaf549a4 100644 --- a/tests/integration/table_tx_lazy_test.go +++ b/tests/integration/table_tx_lazy_test.go @@ -28,6 +28,8 @@ func TestTableTxLazy(t *testing.T) { require.NoError(t, err) }) + require.NotNil(t, db) + t.Run("tx", func(t *testing.T) { t.Run("lazy", func(t *testing.T) { err := db.Table().Do(ctx,