Test sharing a file to a card

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2021-01-04 12:11:13 +01:00
parent 6f040d030f
commit 00c24065c6
4 changed files with 144 additions and 13 deletions
@@ -19,6 +19,14 @@ class ServerContext implements Context {
public static function addFilesToSkeleton() {
}
/**
* @Given /^acting as user "([^"]*)"$/
*/
public function actingAsUser($user) {
$this->loggingInUsingWebAs($user);
$this->asAn($user);
}
public function getCookieJar(): CookieJar {
return $this->cookieJar;
}