Skip to content

Commit

Permalink
tests: fix my_webapp test that has been failing for a while
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Jul 4, 2023
1 parent 3957b10 commit 7924bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/test_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def test_app_from_catalog():

app_install(
"my_webapp",
args=f"domain={main_domain}&path=/site&with_sftp=0&password=superpassword&is_public=1&with_mysql=0&phpversion=none",
args=f"domain={main_domain}&path=/site&with_sftp=0&password=superpassword&init_main_permission=visitors&with_mysql=0&phpversion=none",
)
app_map_ = app_map(raw=True)
assert main_domain in app_map_
Expand All @@ -339,7 +339,7 @@ def test_app_from_catalog():
assert app_map_[main_domain]["/site"]["id"] == "my_webapp"

assert app_is_installed(main_domain, "my_webapp")
assert app_is_exposed_on_http(main_domain, "/site", "Custom Web App")
assert app_is_exposed_on_http(main_domain, "/site", "you have just installed My Webapp")

# Try upgrade, should do nothing
app_upgrade("my_webapp")
Expand Down

0 comments on commit 7924bb2

Please sign in to comment.