@@ -5,25 +5,19 @@ Feature: delete federated connections
5
5
6
6
Background :
7
7
Given user "Alice" has been created with default attributes
8
+ And "Alice" has created the federation share invitation
8
9
And using server "REMOTE"
9
10
And user "Brian" has been created with default attributes
11
+ And "Brian" has accepted invitation
10
12
11
13
12
14
Scenario : federated user deletes the federated connection
13
- Given using server "LOCAL"
14
- And "Alice" has created the federation share invitation
15
- And using server "REMOTE"
16
- And "Brian" has accepted invitation
17
15
When user "Brian" deletes federated connection with user "Alice" using the Graph API
18
16
Then the HTTP status code should be "200"
19
17
20
18
@issue-10216
21
19
Scenario : users should not be able to find federated user after federated user has deleted connection
22
- Given using server "LOCAL"
23
- And "Alice" has created the federation share invitation
24
- And using server "REMOTE"
25
- And "Brian" has accepted invitation
26
- And user "Brian" has deleted federated connection with user "Alice"
20
+ Given user "Brian" has deleted federated connection with user "Alice"
27
21
And using server "LOCAL"
28
22
When user "Alice" searches for federated user "Brian" using Graph API
29
23
Then the HTTP status code should be "200"
@@ -66,10 +60,6 @@ Feature: delete federated connections
66
60
@issue-10216
67
61
Scenario : federated user should not be able to find federated share after federated user has deleted connection
68
62
Given using server "LOCAL"
69
- And "Alice" has created the federation share invitation
70
- And using server "REMOTE"
71
- And "Brian" has accepted invitation
72
- And using server "LOCAL"
73
63
And user "Alice" has created folder "folderToShare"
74
64
And user "Alice" has sent the following resource share invitation to federated user:
75
65
| resource | folderToShare |
@@ -101,10 +91,6 @@ Feature: delete federated connections
101
91
@issue-10213
102
92
Scenario : federated user should not be able to find federated share after local user has deleted connection
103
93
Given using server "LOCAL"
104
- And "Alice" has created the federation share invitation
105
- And using server "REMOTE"
106
- And "Brian" has accepted invitation
107
- And using server "LOCAL"
108
94
And user "Alice" has created folder "folderToShare"
109
95
And user "Alice" has sent the following resource share invitation to federated user:
110
96
| resource | folderToShare |
@@ -132,3 +118,9 @@ Feature: delete federated connections
132
118
}
133
119
}
134
120
"""
121
+
122
+ @issue-10223
123
+ Scenario : federated user tries to delete previously deleted federated connection
124
+ Given user "Brian" has deleted federated connection with user "Alice"
125
+ When user "Brian" tries to delete federated connection with user "Alice" using the Graph API
126
+ Then the HTTP status code should be "404"
0 commit comments