mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
tests:permissions: add an admin user
This commit is contained in:
parent
c80feaeed3
commit
2459834c1c
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ def setup_function(function):
|
||||||
|
|
||||||
socket.getaddrinfo = new_getaddrinfo
|
socket.getaddrinfo = new_getaddrinfo
|
||||||
|
|
||||||
user_create("alice", maindomain, dummy_password, fullname="Alice White")
|
user_create("alice", maindomain, dummy_password, fullname="Alice White", admin=True)
|
||||||
user_create("bob", maindomain, dummy_password, fullname="Bob Snow")
|
user_create("bob", maindomain, dummy_password, fullname="Bob Snow")
|
||||||
_permission_create_with_dummy_app(
|
_permission_create_with_dummy_app(
|
||||||
permission="wiki.main",
|
permission="wiki.main",
|
||||||
|
|
Loading…
Add table
Reference in a new issue