@@ -14,7 +14,7 @@ var testConfig test.Config
1414
1515func TestMain (m * testing.M ) {
1616 c := map [string ]any {
17- "Address" : "localhost:8082 " ,
17+ "Address" : "localhost:8084 " ,
1818 "JWTSecret" : "reallyreallyreallyreallyverysafe" ,
1919 "AllowAnon" : false ,
2020 "EnableAdminRoute" : true ,
@@ -40,7 +40,7 @@ func TestMain(m *testing.M) {
4040 anonymousToken , _ := authn .GenerateToken ("postgrest_test_anonymous" , s .JWTSecret ())
4141
4242 testConfig = test.Config {
43- BaseUrl : "http://localhost:8082 /api/pgrest" ,
43+ BaseUrl : "http://localhost:8084 /api/pgrest" ,
4444 CommonHeaders : test.Headers {
4545 "Authorization" : {anonymousToken },
4646 "Accept-Profile" : {"test" },
@@ -49,12 +49,12 @@ func TestMain(m *testing.M) {
4949 }
5050
5151 go s .Start ()
52- test .WaitForServer ("http://localhost:8082 " )
52+ test .WaitForServer ("http://localhost:8084 " )
5353
5454 // Tear-up
5555
5656 cmdConfig := test.Config {
57- BaseUrl : "http://localhost:8082 /admin" ,
57+ BaseUrl : "http://localhost:8084 /admin" ,
5858 CommonHeaders : test.Headers {"Authorization" : {postgresToken }},
5959 }
6060
0 commit comments