X Tutup
Skip to content

Commit 098ea19

Browse files
committed
Adjust acceptance test
1 parent abd2130 commit 098ea19

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tests/acceptance/features/apiFederation/federated.feature

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -498,14 +498,11 @@ Feature: federated
498498
And user "user2" from server "LOCAL" accepts the last pending share using the sharing API
499499
And user "user1" shares folder "zzzfolder" with user "user2" using the sharing API
500500
And user "user1" shares folder "randomfile.txt" with user "user2" using the sharing API
501-
Then as "user2" folder "zzzfolder/remote" should exist
502-
#when fixing the issue delete the following line and use the one below to test the correct behaviour
503-
And as "user2" folder "zzzfolder (2)" should not exist
504-
#And as "user2" folder "zzzfolder (2)/local" should exist
505-
And the content of file "/randomfile.txt" for user "user2" on server "LOCAL" should be "remote content"
506-
#when fixing the issue delete the following line and use the one below to test the correct behaviour
507-
And as "user2" file "/randomfile (2).txt" should not exist
508-
#And the content of file "/randomfile (2).txt" for user "user2" on server "LOCAL" should be "local content"
501+
# local shares are taking priority at the moment
502+
Then as "user2" folder "zzzfolder (2)/remote" should exist
503+
And as "user2" folder "zzzfolder/local" should exist
504+
And the content of file "/randomfile (2).txt" for user "user2" on server "LOCAL" should be "remote content"
505+
And the content of file "/randomfile.txt" for user "user2" on server "LOCAL" should be "local content"
509506

510507
Scenario: receive a remote share that has the same name as a previously received local share
511508
Given using server "REMOTE"

0 commit comments

Comments
 (0)
X Tutup