drop: Admin server config endpoint
BREAKING CHANGE The endpoint was at risk of being left unprotected when exposing it. The accompanying `admin-server-config-enabled` config was also dropped.
This commit is contained in:
committed by
Steve Chavez
parent
7d04731be1
commit
98ca7c15d5
@@ -776,16 +776,6 @@ def test_change_statement_timeout_held_connection(defaultenv, metapostgrest):
|
||||
reset_statement_timeout(metapostgrest, role)
|
||||
|
||||
|
||||
def test_admin_config(defaultenv):
|
||||
"Should get a success response from the admin server containing current configuration"
|
||||
|
||||
with run(env=defaultenv) as postgrest:
|
||||
response = postgrest.admin.get("/config")
|
||||
print(response.text)
|
||||
assert response.status_code == 200
|
||||
assert "admin-server-port" in response.text
|
||||
|
||||
|
||||
def test_admin_schema_cache(defaultenv):
|
||||
"Should get a success response from the admin server containing current schema cache"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user