Completed
Push — master ( b0b1c6...4fec92 )
by Fabien
54:17
created
Tests/Feature/bootstrap/FeatureContext.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -9,45 +9,45 @@
 block discarded – undo
9 9
  */
10 10
 class FeatureContext extends MinkContext
11 11
 {
12
-    /**
13
-     * Initializes context.
14
-     * Every scenario gets it's own context object.
15
-     *
16
-     * @param array $parameters context parameters (set them up through behat.yml)
17
-     */
18
-    public function __construct(array $parameters)
19
-    {
20
-        // Initialize your context here
21
-    }
12
+	/**
13
+	 * Initializes context.
14
+	 * Every scenario gets it's own context object.
15
+	 *
16
+	 * @param array $parameters context parameters (set them up through behat.yml)
17
+	 */
18
+	public function __construct(array $parameters)
19
+	{
20
+		// Initialize your context here
21
+	}
22 22
 
23
-    /**
24
-     * @Given /^I wait "([^"]*)" seconds$/
25
-     */
26
-    public function iWaitSeconds($seconds)
27
-    {
28
-        sleep($seconds);
29
-    }
23
+	/**
24
+	 * @Given /^I wait "([^"]*)" seconds$/
25
+	 */
26
+	public function iWaitSeconds($seconds)
27
+	{
28
+		sleep($seconds);
29
+	}
30 30
 
31
-    /**
32
-     * @Given /^I am on the main page$/
33
-     */
34
-    public function iAmOnTheMainPage()
35
-    {
36
-        return array(
37
-            new Behat\Behat\Context\Step\Given(sprintf('I am on "%s"', 'mod.php?M=user_MediaM1')),
38
-        );
39
-    }
31
+	/**
32
+	 * @Given /^I am on the main page$/
33
+	 */
34
+	public function iAmOnTheMainPage()
35
+	{
36
+		return array(
37
+			new Behat\Behat\Context\Step\Given(sprintf('I am on "%s"', 'mod.php?M=user_MediaM1')),
38
+		);
39
+	}
40 40
 
41
-    /**
42
-     * @Given /^I am logged in as "([^"]*)" with password "([^"]*)"$/
43
-     */
44
-    public function iAmLoggedInAsWithPassword($username, $password)
45
-    {
46
-        $this->loginUrl = 'http://media.fab/';
47
-        return array(
48
-            new Behat\Behat\Context\Step\Given(sprintf('I am on "%s"', $this->loginUrl)),
49
-            new When(sprintf('I fill in "Password" with "%s"', $password)),
50
-            new When('I press "Identification"'),
51
-        );
52
-    }
41
+	/**
42
+	 * @Given /^I am logged in as "([^"]*)" with password "([^"]*)"$/
43
+	 */
44
+	public function iAmLoggedInAsWithPassword($username, $password)
45
+	{
46
+		$this->loginUrl = 'http://media.fab/';
47
+		return array(
48
+			new Behat\Behat\Context\Step\Given(sprintf('I am on "%s"', $this->loginUrl)),
49
+			new When(sprintf('I fill in "Password" with "%s"', $password)),
50
+			new When('I press "Identification"'),
51
+		);
52
+	}
53 53
 }
Please login to merge, or discard this patch.