Add shared test functions in store_test.go covering all Store interface operations (users, tokens, access control, tiers, billing, stats, etc.) with per-backend wrappers in store_sqlite_test.go and store_postgres_test.go following the webpush test pattern. Fix broken isUniqueConstraintError() which used incorrect interface assertions instead of string matching for SQLite/PostgreSQL errors. |
||
|---|---|---|
| .. | ||
| manager.go | ||
| manager_test.go | ||
| store.go | ||
| store_postgres.go | ||
| store_postgres_test.go | ||
| store_sqlite.go | ||
| store_sqlite_migrations.go | ||
| store_sqlite_test.go | ||
| store_test.go | ||
| types.go | ||
| types_test.go | ||
| util.go | ||
| util_test.go | ||