fix
This commit is contained in:
@@ -297,7 +297,7 @@ The expected failures in this file are from features in the owncloud/ocis repo.
|
|||||||
### [OCM. admin cannot get federated users if he hasn't connection with them ](https://github.com/owncloud/ocis/issues/9829)
|
### [OCM. admin cannot get federated users if he hasn't connection with them ](https://github.com/owncloud/ocis/issues/9829)
|
||||||
|
|
||||||
tests/acceptance/features/apiOcm/searchFederationUsers.feature
|
tests/acceptance/features/apiOcm/searchFederationUsers.feature
|
||||||
- [apiOcm/searchFederationUsers.feature:434](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/searchFederationUsers.feature#L434)
|
- [apiOcm/searchFederationUsers.feature:429](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/searchFederationUsers.feature#L429)
|
||||||
- [apiOcm/searchFederationUsers.feature:611](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/searchFederationUsers.feature#L611)
|
- [apiOcm/searchFederationUsers.feature:601](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/searchFederationUsers.feature#L601)
|
||||||
- Note: always have an empty line at the end of this file.
|
- 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.
|
The bash script that processes this file requires that the last line has a newline on the end.
|
||||||
|
|||||||
@@ -84,11 +84,9 @@ Feature: create invitation
|
|||||||
"pattern": "^%fed_invitation_token_pattern%$"
|
"pattern": "^%fed_invitation_token_pattern%$"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
|
||||||
"const": "a share invitation from Alice"
|
"const": "a share invitation from Alice"
|
||||||
},
|
},
|
||||||
"recipient": {
|
"recipient": {
|
||||||
"type": "string",
|
|
||||||
"const": "brian@example.com"
|
"const": "brian@example.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -117,11 +115,9 @@ Feature: create invitation
|
|||||||
"pattern": "^%fed_invitation_token_pattern%$"
|
"pattern": "^%fed_invitation_token_pattern%$"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
|
||||||
"const": "a share invitation from Alice"
|
"const": "a share invitation from Alice"
|
||||||
},
|
},
|
||||||
"recipient": {
|
"recipient": {
|
||||||
"type": "string",
|
|
||||||
"const": "brian@example.com"
|
"const": "brian@example.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -382,15 +382,12 @@ Feature: search federation users
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"display_name": {
|
"display_name": {
|
||||||
"type": "string",
|
|
||||||
"const": "Alice Hansen"
|
"const": "Alice Hansen"
|
||||||
},
|
},
|
||||||
"idp": {
|
"idp": {
|
||||||
"type": "string",
|
|
||||||
"const": "https://ocis-server:9200"
|
"const": "https://ocis-server:9200"
|
||||||
},
|
},
|
||||||
"mail": {
|
"mail": {
|
||||||
"type": "string",
|
|
||||||
"pattern": "alice@example.org"
|
"pattern": "alice@example.org"
|
||||||
},
|
},
|
||||||
"user_id": {
|
"user_id": {
|
||||||
@@ -409,15 +406,12 @@ Feature: search federation users
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"display_name": {
|
"display_name": {
|
||||||
"type": "string",
|
|
||||||
"const": "Carol King"
|
"const": "Carol King"
|
||||||
},
|
},
|
||||||
"idp": {
|
"idp": {
|
||||||
"type": "string",
|
|
||||||
"const": "https://ocis-server:9200"
|
"const": "https://ocis-server:9200"
|
||||||
},
|
},
|
||||||
"mail": {
|
"mail": {
|
||||||
"type": "string",
|
|
||||||
"pattern": "carol@example.org"
|
"pattern": "carol@example.org"
|
||||||
},
|
},
|
||||||
"user_id": {
|
"user_id": {
|
||||||
@@ -469,11 +463,9 @@ Feature: search federation users
|
|||||||
"pattern": "^%user_id_pattern%$"
|
"pattern": "^%user_id_pattern%$"
|
||||||
},
|
},
|
||||||
"mail": {
|
"mail": {
|
||||||
"type": "string",
|
|
||||||
"const": "alice@example.org"
|
"const": "alice@example.org"
|
||||||
},
|
},
|
||||||
"userType": {
|
"userType": {
|
||||||
"type": "string",
|
|
||||||
"const": "Federated"
|
"const": "Federated"
|
||||||
},
|
},
|
||||||
"identities": {
|
"identities": {
|
||||||
@@ -536,11 +528,9 @@ Feature: search federation users
|
|||||||
"pattern": "^%user_id_pattern%$"
|
"pattern": "^%user_id_pattern%$"
|
||||||
},
|
},
|
||||||
"mail": {
|
"mail": {
|
||||||
"type": "string",
|
|
||||||
"const": "brian@example.org"
|
"const": "brian@example.org"
|
||||||
},
|
},
|
||||||
"userType": {
|
"userType": {
|
||||||
"type": "string",
|
|
||||||
"const": "Federated"
|
"const": "Federated"
|
||||||
},
|
},
|
||||||
"identities": {
|
"identities": {
|
||||||
@@ -596,11 +586,9 @@ Feature: search federation users
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"code": {
|
"code": {
|
||||||
"type": "string",
|
|
||||||
"const": "accessDenied"
|
"const": "accessDenied"
|
||||||
},
|
},
|
||||||
"message": {
|
"message": {
|
||||||
"type": "string",
|
|
||||||
"const": "search term too short"
|
"const": "search term too short"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -610,13 +598,13 @@ Feature: search federation users
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
@issue-9829
|
@issue-9829
|
||||||
Scenario: admin gets federated and member users
|
Scenario: admin gets federated and local users
|
||||||
Given using server "LOCAL"
|
Given using server "LOCAL"
|
||||||
And "Alice" has created the federation share invitation
|
And "Alice" has created the federation share invitation
|
||||||
And using server "REMOTE"
|
And using server "REMOTE"
|
||||||
And "Brian" has accepted invitation
|
And "Brian" has accepted invitation
|
||||||
And using server "LOCAL"
|
And using server "LOCAL"
|
||||||
When the administrator gets federated and member users using the Graph API
|
When the administrator gets federated and local users using the Graph API
|
||||||
Then the HTTP status code should be "200"
|
Then the HTTP status code should be "200"
|
||||||
And the JSON data of the response should match
|
And the JSON data of the response should match
|
||||||
"""
|
"""
|
||||||
@@ -656,7 +644,6 @@ Feature: search federation users
|
|||||||
"pattern": "^%user_id_pattern%$"
|
"pattern": "^%user_id_pattern%$"
|
||||||
},
|
},
|
||||||
"mail": {
|
"mail": {
|
||||||
"type": "string",
|
|
||||||
"const": "carol@example.org"
|
"const": "carol@example.org"
|
||||||
},
|
},
|
||||||
"onPremisesSamAccountName": {
|
"onPremisesSamAccountName": {
|
||||||
@@ -666,7 +653,6 @@ Feature: search federation users
|
|||||||
"const": "Carol"
|
"const": "Carol"
|
||||||
},
|
},
|
||||||
"userType": {
|
"userType": {
|
||||||
"type": "string",
|
|
||||||
"const": "Member"
|
"const": "Member"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -689,11 +675,9 @@ Feature: search federation users
|
|||||||
"pattern": "^%user_id_pattern%$"
|
"pattern": "^%user_id_pattern%$"
|
||||||
},
|
},
|
||||||
"mail": {
|
"mail": {
|
||||||
"type": "string",
|
|
||||||
"const": "brian@example.org"
|
"const": "brian@example.org"
|
||||||
},
|
},
|
||||||
"userType": {
|
"userType": {
|
||||||
"type": "string",
|
|
||||||
"const": "Federated"
|
"const": "Federated"
|
||||||
},
|
},
|
||||||
"identities": {
|
"identities": {
|
||||||
|
|||||||
@@ -126,12 +126,10 @@ Feature: an user shares resources usin ScienceMesh application
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"@UI.Hidden":{
|
"@UI.Hidden":{
|
||||||
"type": "boolean",
|
"const": "false"
|
||||||
"enum": [false]
|
|
||||||
},
|
},
|
||||||
"@client.synchronize":{
|
"@client.synchronize":{
|
||||||
"type": "boolean",
|
"const": "true"
|
||||||
"enum": [true]
|
|
||||||
},
|
},
|
||||||
"createdBy": {
|
"createdBy": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -144,7 +142,6 @@ Feature: an user shares resources usin ScienceMesh application
|
|||||||
"required": ["displayName", "id"],
|
"required": ["displayName", "id"],
|
||||||
"properties": {
|
"properties": {
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"type": "string",
|
|
||||||
"const": "Brian Murphy"
|
"const": "Brian Murphy"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
|
|||||||
@@ -2861,8 +2861,8 @@ class GraphContext implements Context {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @When the administrator gets federated and member users using the Graph API
|
* @When the administrator gets federated and local users using the Graph API
|
||||||
* @When user :user tries to get federated and member users using the Graph API
|
* @When user :user tries to get federated and local users using the Graph API
|
||||||
*
|
*
|
||||||
* @param ?string $user
|
* @param ?string $user
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user