Skip to content

Commit

Permalink
Fix minor typos noticed while sorting out expected-failures
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jan 30, 2021
1 parent 2bdd748 commit 395d596
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/Controller/ShareesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ protected function getRemote($search) {
if (!$foundRemoteById && \substr_count($search, '@') >= 1
&& $this->offset === 0 && $this->userSearch->isSearchable($search)
// if an exact local user is found, only keep the remote entry if
// its domain does not matches the trusted domains
// its domain does not match the trusted domains
// (if it does, it is a user whose local login domain matches the ownCloud
// instance domain)
&& (empty($this->result['exact']['users'])
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/features/apiMain/checksums.feature
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Feature: checksums
And the content of file "/myChunkedFile.txt" for user "Alice" should be "BBBBBCCCCC"

@issue-ocis-reva-56
Scenario: Upload new dav chunked file using async MOVE where checksum does not matches
Scenario: Upload new dav chunked file using async MOVE where checksum does not match
Given using new DAV path
And the administrator has enabled async operations
When user "Alice" creates a new chunking upload with id "chunking-42" using the WebDAV API
Expand All @@ -189,7 +189,7 @@ Feature: checksums
| /myChunkedFile.txt |

@issue-ocis-reva-56
Scenario: Upload new dav chunked file using async MOVE where checksum does not matches - retry with correct checksum
Scenario: Upload new dav chunked file using async MOVE where checksum does not match - retry with correct checksum
Given using new DAV path
And the administrator has enabled async operations
When user "Alice" creates a new chunking upload with id "chunking-42" using the WebDAV API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: propagation of etags when copying files or folders
Given user "Alice" has been created with default attributes and without skeleton files

@skipOnOcis-OC-Storage @issue-product-280
Scenario Outline: copying a file does not changes its etag
Scenario Outline: copying a file does not change its etag
Given using <dav_version> DAV path
And user "Alice" has uploaded file with content "uploaded content" to "file.txt"
And user "Alice" has stored etag of element "/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Feature: get quota
| new |

@files_sharing-app-required
Scenario Outline: Retrieving folder quota when quota is set and a file was recieved
Scenario Outline: Retrieving folder quota when quota is set and a file was received
Given using <dav_version> DAV path
And user "Brian" has been created with default attributes and skeleton files
And the quota of user "Brian" has been set to "1 KB"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Feature: upload file
| new |

@issue-ocis-reva-174
Scenario Outline: moving a file does not changes its mtime
Scenario Outline: moving a file does not change its mtime
Given using <dav_version> DAV path
And user "Alice" has created folder "testFolder"
When user "Alice" uploads file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API
Expand Down

0 comments on commit 395d596

Please sign in to comment.