mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-02 08:49:29 -05:00
Merge pull request #9578 from owncloud/backup-consistency-cli-test
[tests-only][full-ci]adding test for backup consistency cli command
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@env-config
|
||||
Feature: backup consistency
|
||||
As a user
|
||||
I want to check my data for inconsistencies
|
||||
So that I can backup my data
|
||||
|
||||
|
||||
Scenario: check backup consistency via CLI command
|
||||
Given these users have been created with default attributes and without skeleton files:
|
||||
| username |
|
||||
| Alice |
|
||||
| Brian |
|
||||
| Carol |
|
||||
And user "Alice" has created folder "/uploadFolder"
|
||||
And user "Carol" has created folder "/uploadFolder"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Editor |
|
||||
And user "Carol" has deleted file "/uploadFolder"
|
||||
And the administrator has stopped the server
|
||||
When the administrator checks the backup consistency using the CLI
|
||||
Then the command should be successful
|
||||
And the command output should contain "💚 No inconsistency found. The backup in '%storage_path%' seems to be valid."
|
||||
Reference in New Issue
Block a user