mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where role is used as username for newly added servers when opening query tool. #5702
This commit is contained in:
@@ -37,7 +37,7 @@ describe('FunctionSchema', ()=>{
|
||||
connected: true,
|
||||
user: {id: 10, name: 'postgres', is_superuser: true, can_create_role: true, can_create_db: true},
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
@@ -83,7 +83,7 @@ describe('FunctionSchema', ()=>{
|
||||
can_create_db: true,
|
||||
},
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
@@ -157,7 +157,7 @@ describe('FunctionSchema', ()=>{
|
||||
catalog: {},
|
||||
connected: true,
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
@@ -209,7 +209,7 @@ describe('FunctionSchema', ()=>{
|
||||
catalog: {},
|
||||
connected: true,
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
@@ -265,7 +265,7 @@ describe('FunctionSchema', ()=>{
|
||||
node_info: {
|
||||
connected: true,
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
@@ -310,7 +310,7 @@ describe('FunctionSchema', ()=>{
|
||||
node_info: {
|
||||
connected: true,
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
@@ -362,7 +362,7 @@ describe('FunctionSchema', ()=>{
|
||||
catalog: {},
|
||||
connected: true,
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
|
||||
@@ -31,7 +31,7 @@ describe('LanguageSchema', ()=>{
|
||||
node_info: {connected: true,
|
||||
user: {id: 10, name: 'postgres', is_superuser: true, can_create_role: true, can_create_db: true},
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 120005,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -24,7 +24,7 @@ describe('PublicationSchema', ()=>{
|
||||
connected: true,
|
||||
user: {id: 10, name: 'postgres', is_superuser: true, can_create_role: true, can_create_db: true},
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -24,7 +24,7 @@ describe('SubscriptionSchema', ()=>{
|
||||
connected: true,
|
||||
user: {id: 10, name: 'postgres', is_superuser: true, can_create_role: true, can_create_db: true},
|
||||
user_id: 1,
|
||||
user_name: 'postgres',
|
||||
username: 'postgres',
|
||||
version: 130005,
|
||||
server: {host: '127.0.0.1', port: 5432},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user