2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-22 10:08:56 +00:00

fix: tests

This commit is contained in:
Revant Nandgaonkar 2024-12-10 16:26:59 +05:30
parent 85e164f34c
commit 65c4f28ffd

View File

@ -71,7 +71,8 @@ def frappe_site(compose: Compose):
site_name = "tests.localhost"
compose.bench(
"new-site",
"--mariadb-user-host-login-scope=%",
# TODO: change to --mariadb-user-host-login-scope=%
"--no-mariadb-socket",
"--db-root-password=123",
"--admin-password=admin",
site_name,
@ -94,13 +95,11 @@ def erpnext_site(compose: Compose):
site_name = "test-erpnext-site.localhost"
args = [
"new-site",
"--mariadb-user-host-login-scope=%",
"--db-root-password",
"123",
"--admin-password",
"admin",
"--install-app",
"erpnext",
# TODO: change to --mariadb-user-host-login-scope=%
"--no-mariadb-socket",
"--db-root-password=123",
"--admin-password=admin",
"--install-app=erpnext",
site_name,
]
compose.bench(*args)