removing without skeleton files string from the user creation steps
This commit is contained in:
@@ -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|"
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user