test: fill remaining V1 test coverage

Add JSONB, pointer/filter, MustFetchOne, and dialect logger registration
tests for dbxm and dbxp.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-29 17:51:17 -07:00
parent 7647884464
commit 29b855f2b9
5 changed files with 121 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package dbxp_test
import (
"testing"
"gitea.auvem.com/go-toolkit/dbx"
"gitea.auvem.com/go-toolkit/dbx/internal/dbxshared"
_ "gitea.auvem.com/go-toolkit/dbx/dbxp"
"github.com/stretchr/testify/assert"
)
func TestPostgresDebugLoggerRegistered(t *testing.T) {
err := dbxshared.InitLogger(dbx.DialectPostgres)
assert.NoError(t, err)
}