mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Forgot to propagate change in user_create here as well
This commit is contained in:
parent
34227b6172
commit
fad373c016
2 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ def setup_function(function):
|
|||
|
||||
if "with_permission_app_installed" in markers:
|
||||
assert not app_is_installed("permissions_app")
|
||||
user_create("alice", "Alice", "White", "alice@" + maindomain, "test123Ynh")
|
||||
user_create("alice", "Alice", "White", maindomain, "test123Ynh")
|
||||
install_app("permissions_app_ynh", "/urlpermissionapp"
|
||||
"&admin=alice")
|
||||
assert app_is_installed("permissions_app")
|
||||
|
|
|
@ -53,8 +53,8 @@ def setup_function(function):
|
|||
return res
|
||||
socket.getaddrinfo = new_getaddrinfo
|
||||
|
||||
user_create("alice", "Alice", "White", "alice@" + maindomain, dummy_password)
|
||||
user_create("bob", "Bob", "Snow", "bob@" + maindomain, dummy_password)
|
||||
user_create("alice", "Alice", "White", maindomain, dummy_password)
|
||||
user_create("bob", "Bob", "Snow", maindomain, dummy_password)
|
||||
permission_create("wiki.main", url="/", allowed=["all_users"] , sync_perm=False)
|
||||
permission_create("blog.main", allowed=["all_users"], sync_perm=False)
|
||||
user_permission_update("blog.main", remove="all_users", add="alice")
|
||||
|
|
Loading…
Add table
Reference in a new issue