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