ApiTest. check userType in response (#7992)

This commit is contained in:
Viktor Scharf
2023-12-18 08:53:05 +01:00
committed by GitHub
parent 0f4bdddde7
commit 2953258792
2 changed files with 105 additions and 31 deletions

View File

@@ -59,11 +59,6 @@ The expected failures in this file are from features in the owncloud/ocis repo.
#### [A User can get information of another user with Graph API](https://github.com/owncloud/ocis/issues/5125)
- [apiGraph/getUser.feature:82](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L82)
- [apiGraph/getUser.feature:83](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L83)
- [apiGraph/getUser.feature:84](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L84)
- [apiGraph/getUser.feature:85](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L85)
- [apiGraph/getUser.feature:86](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L86)
- [apiGraph/getUser.feature:87](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L87)
- [apiGraph/getUser.feature:88](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L88)
- [apiGraph/getUser.feature:89](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L89)
@@ -71,18 +66,23 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiGraph/getUser.feature:91](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L91)
- [apiGraph/getUser.feature:92](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L92)
- [apiGraph/getUser.feature:93](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L93)
- [apiGraph/getUser.feature:607](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L607)
- [apiGraph/getUser.feature:608](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L608)
- [apiGraph/getUser.feature:609](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L609)
- [apiGraph/getUser.feature:610](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L610)
- [apiGraph/getUser.feature:611](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L611)
- [apiGraph/getUser.feature:612](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L612)
- [apiGraph/getUser.feature:613](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L613)
- [apiGraph/getUser.feature:614](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L614)
- [apiGraph/getUser.feature:615](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L615)
- [apiGraph/getUser.feature:616](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L616)
- [apiGraph/getUser.feature:617](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L617)
- [apiGraph/getUser.feature:618](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L618)
- [apiGraph/getUser.feature:94](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L94)
- [apiGraph/getUser.feature:95](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L95)
- [apiGraph/getUser.feature:96](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L96)
- [apiGraph/getUser.feature:97](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L97)
- [apiGraph/getUser.feature:98](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L98)
- [apiGraph/getUser.feature:642](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L642)
- [apiGraph/getUser.feature:643](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L643)
- [apiGraph/getUser.feature:644](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L644)
- [apiGraph/getUser.feature:645](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L645)
- [apiGraph/getUser.feature:646](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L646)
- [apiGraph/getUser.feature:647](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L647)
- [apiGraph/getUser.feature:648](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L648)
- [apiGraph/getUser.feature:649](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L649)
- [apiGraph/getUser.feature:650](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L650)
- [apiGraph/getUser.feature:651](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L651)
- [apiGraph/getUser.feature:652](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L652)
- [apiGraph/getUser.feature:653](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/getUser.feature#L653)
#### [Normal user can get expanded members information of a group](https://github.com/owncloud/ocis/issues/5604)

View File

@@ -23,7 +23,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"displayName": {
@@ -45,6 +46,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -105,7 +110,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -123,6 +129,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -135,7 +145,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -153,6 +164,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -172,7 +187,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -190,6 +206,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -202,7 +222,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -220,6 +241,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [false]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -272,7 +297,8 @@ Feature: get users
"mail",
"onPremisesSamAccountName",
"drive",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"displayName": {
@@ -295,6 +321,10 @@ Feature: get users
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
},
"drive": {
"type": "object",
"required": [
@@ -395,7 +425,8 @@ Feature: get users
"mail",
"onPremisesSamAccountName",
"drive",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"displayName": {
@@ -418,6 +449,10 @@ Feature: get users
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
},
"drive": {
"type": "object",
"required": [
@@ -646,7 +681,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -664,6 +700,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
},
@@ -691,6 +731,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -720,7 +764,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -738,6 +783,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -770,7 +819,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -788,6 +838,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -800,7 +854,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -818,6 +873,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -877,7 +936,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -895,6 +955,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -907,7 +971,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -925,6 +990,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}
@@ -940,7 +1009,8 @@ Feature: get users
"id",
"mail",
"onPremisesSamAccountName",
"accountEnabled"
"accountEnabled",
"userType"
],
"properties": {
"id" : {
@@ -958,6 +1028,10 @@ Feature: get users
"accountEnabled": {
"type": "boolean",
"enum": [true]
},
"userType": {
"type": "string",
"enum": ["Member"]
}
}
}