diff --git a/templates_test/insert.tpl b/templates_test/insert.tpl index 82f87b6..e3446f0 100644 --- a/templates_test/insert.tpl +++ b/templates_test/insert.tpl @@ -41,11 +41,7 @@ func test{{$tableNamePlural}}InsertWhitelist(t *testing.T) { tx := MustTx(boil.Begin()) defer tx.Rollback() - {{if ne .DriverName "mssql"}} - if err = {{$varNameSingular}}.Insert(tx, {{$varNameSingular}}Columns...); err != nil { - {{- else -}} if err = {{$varNameSingular}}.Insert(tx, {{$varNameSingular}}ColumnsWithoutDefault...); err != nil { - {{- end}} t.Error(err) }