mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Documentation
This commit is contained in:
parent
1eed512b7d
commit
55c7f578fd
@ -66,6 +66,9 @@ class LoginContext extends BehatContext
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a member in a group with the correct permissions.
|
||||
* Example: Given I am logged in with "ADMIN" permissions
|
||||
*
|
||||
* @Given /^I am logged in with "([^"]*)" permissions$/
|
||||
*/
|
||||
function iAmLoggedInWithPermissions($permCode)
|
||||
@ -108,7 +111,7 @@ class LoginContext extends BehatContext
|
||||
}
|
||||
|
||||
/**
|
||||
* @When /^I log in with "([^"]*)" and "([^"]*)"$/
|
||||
* @When /^I log in with "(?<username>[^"]*)" and "(?<password>[^"]*)"$/
|
||||
*/
|
||||
public function stepILogInWith($email, $password)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user