test: add test for updating space name to an empty string

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
This commit is contained in:
Ashim Shrestha
2026-01-02 16:41:38 +05:45
parent 2e5b85d8ba
commit bec95e7ea7
2 changed files with 10 additions and 1 deletions

View File

@@ -401,5 +401,9 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiGraphUser/getUser.feature:696](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraphUser/getUser.feature#L696)
- [apiGraphUser/getUser.feature:700](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraphUser/getUser.feature#L700)
#### [PATCH /v1.0/drives/{drive-id} accepts empty name](https://github.com/owncloud/ocis/issues/11887)
- [apiSpaces/changeSpaces.feature:603](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changeSpaces.feature#L603)
Note: always have an empty line at the end of this file.
The bash script that processes this file requires that the last line has a newline on the end.

View File

@@ -597,4 +597,9 @@ Feature: Change data of space
Examples:
| role |
| Space Editor Without Versions |
| Space Editor |
| Space Editor |
@issue-11887
Scenario: space manager tries to change the name of a space to an empty string
When user "Alice" changes the name of the "Project Jupiter" space to ""
Then the HTTP status code should be "400"