mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
The reverse-engineered SQL tests hardcoded 'postgres' as the role name in test JSON data and expected SQL files. This fails on systems where the superuser is not 'postgres' (e.g. 'ashesh.vashi'). Changes: - Replace hardcoded 'postgres' with '<OWNER>' placeholder in ~400 test JSON, SQL, and MSQL files across all browser module tests - Extend test_resql.py to resolve '<OWNER>' in scenario data sent to API endpoints (not just in expected SQL) - Handle identifier quoting for usernames containing special characters (dots, etc.) by normalizing both expected and actual SQL - Fix test_domain_sql.py to use qtIdent for username in expected SQL - Split Authlib version pin: 1.6.x for Python <=3.9, 1.7.x for >3.9