• Steven's avatar
    fix(tests): update PAT tests to accept both custom and SQL errors · 2b19d8a9
    Steven authored
    The PostgreSQL implementation returns 'PAT not found' when no rows match,
    while SQLite/MySQL return 'sql: no rows in result set' from QueryRowContext.
    
    Both behaviors are correct - the key fix is that PostgreSQL no longer
    throws JSONB errors on missing/malformed data.
    
    Changes:
    - Update test assertions to accept either error type
    - Fix comment punctuation for godot linter
    - Maintain backward compatibility across all database drivers
    2b19d8a9
Name
Last commit
Last update
.github Loading commit data...
cmd/memos Loading commit data...
internal Loading commit data...
plugin Loading commit data...
proto Loading commit data...
scripts Loading commit data...
server Loading commit data...
store Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.golangci.yaml Loading commit data...
AGENTS.md Loading commit data...
CODEOWNERS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...