diff --git a/tests/acceptance/features/apiVersions/fileVersions.feature b/tests/acceptance/features/apiVersions/fileVersions.feature index 3718b2815171..d6ab85dc655a 100644 --- a/tests/acceptance/features/apiVersions/fileVersions.feature +++ b/tests/acceptance/features/apiVersions/fileVersions.feature @@ -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" \ No newline at end of file diff --git a/tests/acceptance/features/bootstrap/WebDav.php b/tests/acceptance/features/bootstrap/WebDav.php index de861f694345..769b0e74705c 100644 --- a/tests/acceptance/features/bootstrap/WebDav.php +++ b/tests/acceptance/features/bootstrap/WebDav.php @@ -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 * @@ -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'" ); }