-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36754 from owncloud/listLocalStorage
[Tests-only] Add acceptance test to list all created local storage using occ command
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
tests/acceptance/features/cliLocalStorage/listLocalStorage.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@cli @skipOnLDAP @local_storage | ||
Feature: create local storage from the command line | ||
As an admin | ||
I want to list all created local storage from the command line | ||
So that I can view available local storage | ||
|
||
Scenario: List the created local storage | ||
Given the administrator has created the local storage mount "local_storage2" | ||
And the administrator has created the local storage mount "new_local_storage" | ||
And the administrator has uploaded file with content "this is a file in local storage" to "/local_storage2/file-in-local-storage.txt" | ||
And the administrator has uploaded file with content "new file" to "/new_local_storage/new-file" | ||
When the administrator lists the local storage using the occ command | ||
Then the following local storage should exist | ||
| localStorage | | ||
| local_storage2 | | ||
| new_local_storage | |