@@ -12,19 +12,16 @@ Feature: translate messages in api response to preferred language
12
12
| Carol |
13
13
And using <dav_version> DAV path
14
14
And user "Brian" has shared file "textfile0.txt" with user "Carol"
15
- When user "Alice" gets the info of the last share in language "de-DE " using the sharing API
15
+ When user "Alice" gets the info of the last share in language "<language> " using the sharing API
16
16
Then the OCS status code should be "404"
17
- And the OCS status message should be "Fehlerhafte Freigabe-ID, Freigabe existiert nicht"
18
- When user "Alice" gets the info of the last share in language "zh-CN" using the sharing API
19
- Then the OCS status code should be "404"
20
- And the OCS status message should be "错误的共享 ID,共享不存在"
21
- When user "Alice" gets the info of the last share in language "fr-FR" using the sharing API
22
- Then the OCS status code should be "404"
23
- And the OCS status message should be "Mauvais ID de partage, le partage n'existe pas"
24
- When user "Alice" gets the info of the last share in language "es-ES" using the sharing API
25
- Then the OCS status code should be "404"
26
- And the OCS status message should be "El ID del recurso compartido no es correcto, el recurso compartido no existe"
17
+ And the OCS status message should be "<error_message>"
27
18
Examples :
28
- | dav_version |
29
- | old |
30
- | new |
19
+ | dav_version | language | error_message |
20
+ | old | de -DE | Fehlerhafte Freigabe -ID , Freigabe existiert nicht |
21
+ | new | de -DE | Fehlerhafte Freigabe -ID , Freigabe existiert nicht |
22
+ | old | zh -CN | 错误的共享 ID ,共享不存在 |
23
+ | new | zh -CN | 错误的共享 ID ,共享不存在 |
24
+ | old | fr -FR | Mauvais ID de partage , le partage n 'existe pas |
25
+ | new | fr -FR | Mauvais ID de partage , le partage n 'existe pas |
26
+ | old | es -ES | El ID del recurso compartido no es correcto , el recurso compartido no existe |
27
+ | new | es -ES | El ID del recurso compartido no es correcto , el recurso compartido no existe |
0 commit comments