sharing: Update functional test to use syncthing-access group

'syncthing' group name was replaced by 'syncthing-access' in MR !1995,
update the sharing app functional test to use this new group name.

Test:
- Update the sharing app Apache2 configuration. Run the sharing app tests.
All tests pass.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Veiko Aasa 2021-01-22 14:19:46 +02:00 committed by Sunil Mohan Adapa
parent a022eed0eb
commit 566fef18b2
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 4 additions and 4 deletions

View File

@ -32,8 +32,8 @@ Scenario: Remove a share
Scenario: Share permissions
When I remove share tmp
And I add a share tmp from path /tmp for syncthing
Then the share tmp should be listed from path /tmp for syncthing
And I add a share tmp from path /tmp for syncthing-access
Then the share tmp should be listed from path /tmp for syncthing-access
And the share tmp should not be accessible
Scenario: Public share

View File

@ -17,7 +17,7 @@ def remove_share(session_browser, name):
_remove_share(session_browser, name)
@when(parsers.parse('I add a share {name:w} from path {path} for {group:w}'))
@when(parsers.parse('I add a share {name:w} from path {path} for {group:S}'))
def add_share(session_browser, name, path, group):
_add_share(session_browser, name, path, group)
@ -41,7 +41,7 @@ def edit_share_public_access(session_browser, name):
@then(
parsers.parse(
'the share {name:w} should be listed from path {path} for {group:w}'))
'the share {name:w} should be listed from path {path} for {group:S}'))
def verify_share(session_browser, name, path, group):
_verify_share(session_browser, name, path, group)