@@ -786,7 +786,7 @@ describe("AuthContext", () => {
786786 beforeAll ( async ( ) => {
787787 pool = new Pool ( {
788788 host : "localhost" ,
789- port : 5433 ,
789+ port : parseInt ( process . env . PGPORT || " 5433" ) ,
790790 database : "easy_auth_test" ,
791791 user : "test_user" ,
792792 password : "test_password" ,
@@ -924,7 +924,7 @@ describe("Schema operations", () => {
924924 beforeAll ( async ( ) => {
925925 pool = new Pool ( {
926926 host : "localhost" ,
927- port : 5433 ,
927+ port : parseInt ( process . env . PGPORT || " 5433" ) ,
928928 database : "easy_auth_test" ,
929929 user : "test_user" ,
930930 password : "test_password" ,
@@ -1042,7 +1042,7 @@ describe("authenticateRequest", () => {
10421042 beforeAll ( async ( ) => {
10431043 pool = new Pool ( {
10441044 host : "localhost" ,
1045- port : 5433 ,
1045+ port : parseInt ( process . env . PGPORT || " 5433" ) ,
10461046 database : "easy_auth_test" ,
10471047 user : "test_user" ,
10481048 password : "test_password" ,
@@ -1149,7 +1149,7 @@ describe("Standalone role functions", () => {
11491149 beforeAll ( async ( ) => {
11501150 pool = new Pool ( {
11511151 host : "localhost" ,
1152- port : 5433 ,
1152+ port : parseInt ( process . env . PGPORT || " 5433" ) ,
11531153 database : "easy_auth_test" ,
11541154 user : "test_user" ,
11551155 password : "test_password" ,
0 commit comments