mirror of
https://github.com/geoserver/geoserver-cloud.git
synced 2026-02-01 16:46:47 +00:00
Revert "fix: explicitly specify admin credentials in acceptance tests"
This reverts commit 9c6e76f869f65d02ccb32fe025cc5c4c3715d77a. Commit 860e16c87e6f58f2507ca8be762f70a360e16f97 effectively fixes the issue with the integration tests.
This commit is contained in:
parent
7a85df4fba
commit
5e03026cf2
@ -6,8 +6,6 @@ import sqlalchemy
|
||||
from geoservercloud import GeoServerCloud
|
||||
|
||||
GEOSERVER_URL = os.getenv("GEOSERVER_URL", "http://gateway:8080/geoserver/cloud")
|
||||
GEOSERVER_USERNAME = os.getenv("GEOSERVER_USERNAME", "admin")
|
||||
GEOSERVER_PASSWORD = os.getenv("GEOSERVER_PASSWORD", "geoserver")
|
||||
RESOURCE_DIR = Path(__file__).parent / "resources"
|
||||
# Database connection
|
||||
PGHOST = "geodatabase"
|
||||
@ -44,11 +42,7 @@ def db_session(engine):
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def geoserver():
|
||||
geoserver = GeoServerCloud(
|
||||
url=GEOSERVER_URL,
|
||||
user=GEOSERVER_USERNAME,
|
||||
password=GEOSERVER_PASSWORD
|
||||
)
|
||||
geoserver = GeoServerCloud(GEOSERVER_URL)
|
||||
geoserver.recreate_workspace(WORKSPACE, set_default_workspace=True)
|
||||
geoserver.create_pg_datastore(
|
||||
workspace=WORKSPACE,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user