This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class DefaultController extends Controller | |
{ | |
/** | |
* Dashboard page. | |
* @Permissions(perm="dashboard_view") | |
* @Route("/", name="ITEDashboardBundle_index") | |
* @Template() | |
* @return array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @Given /^I logged in as "([^"]*)" with "([^"]*)" password$/ | |
*/ | |
public function iLoggedInAsWithPassword($username, $password) | |
{ | |
return array( | |
new Step\Given("I am on \"/login\""), | |
new Step\When("I fill in \"Username\" with \"$username\""), |
NewerOlder