Skip to content

Commit

Permalink
grammar correction
Browse files Browse the repository at this point in the history
  • Loading branch information
SwikritiT committed Feb 25, 2021
1 parent 7d00b1a commit 29b947c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/features/apiVersions/fileVersions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ Feature: dav-versions
Then the number of versions should be "0"

@issue-ocis-1234
Scenario: the number of etag element in response changes according to version of the file
Scenario: the number of etag elements in response changes according to version of the file
Given user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt"
And user "Alice" has uploaded file with content "version 1" to "textfile0.txt"
And user "Alice" has uploaded file with content "version 2" to "textfile0.txt"
When user "Alice" gets the number of versions of file "textfile0.txt"
Then the HTTP status code should be "207"
And the number of etag element in the response should be "2"
And the number of etag elements in the response should be "2"
And the number of versions should be "2"
4 changes: 2 additions & 2 deletions tests/acceptance/features/bootstrap/WebDav.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public function theNumberOfVersionsShouldBe($number) {
}

/**
* @Then the number of etag element in the response should be :number
* @Then the number of etag elements in the response should be :number
*
* @param int $number
*
Expand All @@ -469,7 +469,7 @@ public function theNumberOfEtagElementInTheResponseShouldBe($number) {
Assert::assertEquals(
$number,
$actualNumber,
"Expected number of etag element was '$number', but got '$actualNumber'"
"Expected number of etag elements was '$number', but got '$actualNumber'"
);
}

Expand Down

0 comments on commit 29b947c

Please sign in to comment.