Skip to content

Commit

Permalink
add test for search version restored files by content
Browse files Browse the repository at this point in the history
  • Loading branch information
nabim777 committed Aug 7, 2023
1 parent 715818d commit 3f558ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/TestHelpers/WebDavHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ public static function getDavPath(
if ($type === "trash-bin") {
return "/remote.php/dav/spaces/trash-bin/" . $spaceId . '/';
}
return "/remote.php/dav/spaces/" . $spaceId . '/';
return "dav/spaces/" . $spaceId . '/';
} else {
if ($davPathVersionToUse === self::DAV_VERSION_OLD) {
if ($type === "trash-bin") {
Expand Down
6 changes: 3 additions & 3 deletions tests/acceptance/features/apiGraph/fullSearch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: full text search
| folderWithFile/subFolder/ |
And user "Alice" has uploaded the following files with content "some data"
| path |
| fileInRootLevel.txt |
| fileInRootLevel.txt |
| folderWithFile/fileInsideFolder.txt |
| folderWithFile/subFolder/fileInsideSubFolder.txt |
And user "Alice" has created the following tags for file "fileInRootLevel.txt" of the space "Personal":
Expand All @@ -37,7 +37,7 @@ Feature: full text search
| new |
| spaces |


@skipOnStable3.0
Scenario Outline: search project space files by tag
Given using spaces DAV path
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
Expand Down Expand Up @@ -87,7 +87,7 @@ Feature: full text search
| new |
| spaces |


@skipOnStable3.0
Scenario Outline: sharee searches shared files using a tag
Given using <dav-path-version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
Expand Down

0 comments on commit 3f558ee

Please sign in to comment.