• 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
..
README.md Loading commit data...
activity_test.go Loading commit data...
attachment_filter_test.go Loading commit data...
attachment_test.go Loading commit data...
containers.go Loading commit data...
filter_helpers_test.go Loading commit data...
idp_test.go Loading commit data...
inbox_test.go Loading commit data...
instance_setting_test.go Loading commit data...
main_test.go Loading commit data...
memo_filter_test.go Loading commit data...
memo_relation_test.go Loading commit data...
memo_test.go Loading commit data...
migrator_test.go Loading commit data...
reaction_test.go Loading commit data...
store.go Loading commit data...
user_setting_test.go Loading commit data...
user_test.go Loading commit data...