removing without skeleton files string from the user creation steps

This commit is contained in:
Niraj Acharya
2024-12-02 09:12:57 +05:45
parent a265fcbe46
commit c98841904d
219 changed files with 663 additions and 804 deletions
+3 -3
View File
@@ -188,7 +188,7 @@ trait Provisioning {
}
/**
* @Given user :user has been created with default attributes and without skeleton files
* @Given user :user has been created with default attributes
*
* @param string $user
*
@@ -202,7 +202,7 @@ trait Provisioning {
}
/**
* @Given these users have been created without skeleton files and not initialized:
* @Given these users have been created without being initialized:
*
* @param TableNode $table
*
@@ -216,7 +216,7 @@ trait Provisioning {
}
/**
* @Given these users have been created with default attributes and without skeleton files:
* @Given these users have been created with default attributes:
* expects a table of users with the heading
* "|username|"
*
-19
View File
@@ -828,25 +828,6 @@ trait WebDav {
);
}
/**
* @Then /^user "([^"]*)" should be able to access a skeleton file$/
*
* @param string $user
*
* @return void
*/
public function userShouldBeAbleToAccessASkeletonFile(string $user):void {
$user = $this->getActualUsername($user);
$response = $this->downloadFileAsUserUsingPassword($user, "textfile0.txt");
$actualStatus = $response->getStatusCode();
Assert::assertEquals(
200,
$actualStatus,
"Expected status code to be '200', but got '$actualStatus'"
);
$this->checkDownloadedContentMatches("ownCloud test text file 0\n", '', $response);
}
/**
* @Then the size of the downloaded file should be :size bytes
*